Add Infra Cloud compute node definition

Add definition for compute nodes in the hpuswest region.

Change-Id: I9bce2a37d427558ba7a59fc6bc9edfd62edeac45
This commit is contained in:
Colleen Murphy 2015-10-06 16:00:18 -07:00
parent d3cc13127b
commit f2b367a735
2 changed files with 33 additions and 0 deletions

View File

@ -1158,4 +1158,20 @@ node 'controller00.hpuswest.ic.openstack.org' {
}
}
node /^compute\d{3}\.hpuswest\.ic\.openstack\.org$/ {
$group = 'infracloud'
class { '::openstack_project::server':
sysadmins => hiera('sysadmins', []),
enable_unbound => false,
}
class { '::openstack_project::infracloud::compute':
nova_rabbit_password => hiera('nova_rabbit_password'),
neutron_rabbit_password => hiera('neutron_rabbit_password'),
neutron_admin_password => hiera('neutron_admin_password'),
br_name => 'br-vlan25',
controller_management_address => '10.10.16.146',
controller_public_address => 'controller00.hpuswest.ic.openstack.org',
}
}
# vim:sw=2:ts=2:expandtab:textwidth=79

View File

@ -0,0 +1,17 @@
class openstack_project::infracloud::compute (
$nova_rabbit_password,
$neutron_rabbit_password,
$neutron_admin_password,
$br_name,
$controller_management_address,
$controller_public_address,
) {
class { '::infracloud::compute':
nova_rabbit_password => $nova_rabbit_password,
neutron_rabbit_password => $neutron_rabbit_password,
neutron_admin_password => $neutron_admin_password,
br_name => $br_name,
controller_management_address => $controller_management_address,
controller_public_address => $controller_public_address,
}
}