Merge "Move openstack_project::server to node def"

This commit is contained in:
Jenkins 2015-03-13 16:08:47 +00:00 committed by Gerrit Code Review
commit 58f1c1e8ae
2 changed files with 4 additions and 6 deletions

View File

@ -237,10 +237,13 @@ node 'lists.openstack.org' {
# Node-OS: precise
node 'paste.openstack.org' {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80],
sysadmins => hiera('sysadmins', []),
}
class { 'openstack_project::paste':
db_password => hiera('paste_db_password', 'XXX'),
mysql_root_password => hiera('paste_mysql_root_password', 'XXX'),
sysadmins => hiera('sysadmins', []),
}
}

View File

@ -3,12 +3,7 @@
class openstack_project::paste (
$db_password,
$mysql_root_password,
$sysadmins = []
) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80],
sysadmins => $sysadmins,
}
include lodgeit
lodgeit::site { 'openstack':
db_host => 'localhost',