Sha256: 2be093171ea63e555c7fe21695ebd9462124ae1f22c29a8c61d3154589686628

Contents?: true

Size: 665 Bytes

Versions: 14

Compression:

Stored size: 665 Bytes

Contents

# See README.me for options.
class mysql::server::config {

  $options = $mysql::server::options

  File {
    owner  => 'root',
    group  => $mysql::server::root_group,
    mode   => '0400',
    notify => Class['mysql::server::service'],
  }

  file { '/etc/mysql':
    ensure => directory,
    mode   => '0755',
  }

  file { '/etc/mysql/conf.d':
    ensure  => directory,
    mode    => '0755',
    recurse => $mysql::server::purge_conf_dir,
    purge   => $mysql::server::purge_conf_dir,
  }

  if $mysql::server::manage_config_file  {
    file { $mysql::server::config_file:
      content => template('mysql/my.cnf.erb'),
      mode    => '0644',
    }
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/mysql/manifests/server/config.pp
freighthop-0.6.0 modules/mysql/manifests/server/config.pp
freighthop-0.5.2 modules/mysql/manifests/server/config.pp
freighthop-0.5.1 modules/mysql/manifests/server/config.pp
freighthop-0.5.0 modules/mysql/manifests/server/config.pp
freighthop-0.4.1 modules/mysql/manifests/server/config.pp
freighthop-0.4.0 modules/mysql/manifests/server/config.pp
freighthop-0.3.3 modules/mysql/manifests/server/config.pp
freighthop-0.3.2 modules/mysql/manifests/server/config.pp
freighthop-0.3.1 modules/mysql/manifests/server/config.pp
freighthop-0.3.0 modules/mysql/manifests/server/config.pp
freighthop-0.2.1 modules/mysql/manifests/server/config.pp
freighthop-0.2.0 modules/mysql/manifests/server/config.pp
freighthop-0.1.0 modules/mysql/manifests/server/config.pp