Puppet Class: mysql_hardening
- Defined in:
 - manifests/init.pp
 
Overview
Class: mysql_hardening
Configures overlay hardening
Parameters
- mysql_provider
 - 
The name of the provider you use to install MySQL. Supported: ‘puppetlabs/mysql`
 
        18 19 20 21 22 23 24 25 26 27 28 29 30 31 32  | 
      
        # File 'manifests/init.pp', line 18
class mysql_hardening(
  $provider = 'none',
) {
  case $provider {
    'puppetlabs/mysql': {
      class{'mysql_hardening::puppetlabs': }
    }
    'none': {
      fail('You haven\'t configured a MySQL provider for hardening.')
    }
    default: {
      fail('Unrecognized/Unsupported MySQL provider for hardening.')
    }
  }
}
       |