Puppet Class: percona::toolkit

Defined in:
manifests/toolkit.pp

Overview

Class: percona::toolkit

percona::toolkit is to install percona-toolkit.

Parameters


  • ‘ensure`

What state the package should be in. Default to installed.

Parameters:

  • ensure (Any) (defaults to: installed)


12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'manifests/toolkit.pp', line 12

class percona::toolkit (
  $ensure = installed,
){

  require 'percona::repo'

  case $facts['osfamily'] {
    'Debian': {
      package { 'percona-toolkit':
        ensure          => $ensure,
        install_options => ['--allow-unauthenticated'],
      }
    }
    default: {
      package { 'percona-toolkit':
        ensure => $ensure,
      }
    }
  }

}