Files
packstack/packstack/puppet/templates/mysql.pp
Dan Radez 1aa160fbd7 making sure mysql is installed before we try to clean the anon user and test db BZ896107
Change-Id: I98af88ebf6a6514767bc50ada1ea04abbddbcf6c
2013-01-16 13:01:22 -05:00

36 lines
754 B
Puppet

class {"mysql::server":
config_hash => {bind_address => "0.0.0.0",
root_password => "%(CONFIG_MYSQL_PW)s",}
}
class {"mysql::server::account_security":
require => Class["mysql::server"],
}
class {"keystone::db::mysql":
password => "keystone_default_password",
allowed_hosts => "%%",
}
class {"glance::db::mysql":
password => "glance_default_password",
allowed_hosts => "%%",
}
class {"nova::db::mysql":
password => "nova_default_password",
allowed_hosts => "%%",
}
class {"cinder::db::mysql":
password => "cinder_default_password",
allowed_hosts => "%%",
}
firewall { '001 mysql incoming':
proto => 'tcp',
dport => ['3306'],
action => 'accept',
}