Merge "Move openstack_project::server to node def"
This commit is contained in:
commit
58f1c1e8ae
@ -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', []),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user