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`

Copyright 2014, Deutsche Telekom AG

Parameters:

  • provider (Any) (defaults to: 'none')


15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/init.pp', line 15

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.')
    }
  }
}