Puppet Class: mysql_hardening::puppetlabs_override

Inherits:
::mysql::server::config
Defined in:
manifests/puppetlabs_override.pp

Overview

Class: mysql_hardening::puppetlabs_override

Overlay provider for puppetlabs/mysql

Parameters

none



16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/puppetlabs_override.pp', line 16

class mysql_hardening::puppetlabs_override inherits ::mysql::server::config {
  # merges the final set of options
  $options = mysql_deepmerge( $::mysql::server::options, $::mysql_hardening::puppetlabs::new_options )
  # write the new template
  File[$mysql::server::config_file]{
    content => template('mysql/my.cnf.erb'),
    mode   => '0640',
    owner => 'mysql',
    group => 'mysql',
  }
}