fuel-library/deployment/puppet/mysql/tests/mysql_user.pp
Eugene Kirpichov d646654910 Initial commit
2012-09-07 17:38:58 -07:00

24 lines
471 B
Puppet

$mysql_root_pw = 'password'
class { 'mysql::server':
config_hash => {
root_password => 'password',
}
}
database_user{ 'redmine@localhost':
ensure => present,
password_hash => mysql_password('redmine'),
require => Class['mysql::server'],
}
database_user{ 'dan@localhost':
ensure => present,
password_hash => mysql_password('blah')
}
database_user{ 'dan@%':
ensure => present,
password_hash => mysql_password('blah'),
}