Sha256: 27a687eccd0125caa0ac2de79951c1cc9410974dd074567ccb2f5111c29b2ddd

Contents?: true

Size: 526 Bytes

Versions: 14

Compression:

Stored size: 526 Bytes

Contents

class mysql::server::account_security {
  mysql_user {
    [ "root@${::fqdn}",
      'root@127.0.0.1',
      'root@::1',
      "@${::fqdn}",
      '@localhost',
      '@%']:
    ensure  => 'absent',
    require => Anchor['mysql::server::end'],
  }
  if ($::fqdn != $::hostname) {
    mysql_user { ["root@${::hostname}", "@${::hostname}"]:
      ensure  => 'absent',
      require => Anchor['mysql::server::end'],
    }
  }
  mysql_database { 'test':
    ensure  => 'absent',
    require => Anchor['mysql::server::end'],
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

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