diff options
author | 2016-09-16 17:32:44 +0200 | |
---|---|---|
committer | 2017-08-11 12:56:12 -0700 | |
commit | 6aa36ec5d1622101e3c89052c4f66d7bbe4d3c50 (patch) | |
tree | fb623e3336cca8a064a6bb4228ade00f52ad156c | |
parent | 0efc108fb1d6c21be9cf9b9894028e89c6d5e602 (diff) |
Add baremetal node for puppet-infracloud
Change-Id: Ie18b25634016dcc98ec83e30c51b4c386ffd9ecc
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
-rw-r--r-- | puppet-infracloud/manifests/site.pp | 26 | ||||
-rw-r--r-- | puppet-infracloud/modules.env | 3 |
2 files changed, 29 insertions, 0 deletions
diff --git a/puppet-infracloud/manifests/site.pp b/puppet-infracloud/manifests/site.pp index 1bbd282e..2cb12a3c 100644 --- a/puppet-infracloud/manifests/site.pp +++ b/puppet-infracloud/manifests/site.pp @@ -68,3 +68,29 @@ node 'jumphost.opnfvlocal' { purge_apt_sources => false, } } + +node 'baremetal.opnfvlocal' { + class { '::opnfv::server': + iptables_public_udp_ports => [67, 69], + sysadmins => hiera('sysadmins', []), + enable_unbound => false, + purge_apt_sources => false, + } + + class { '::infracloud::bifrost': + ironic_inventory => hiera('ironic_inventory', {}), + ironic_db_password => hiera('ironic_db_password'), + mysql_password => hiera('bifrost_mysql_password'), + ipmi_passwords => hiera('ipmi_passwords'), + ssh_private_key => hiera('bifrost_ssh_private_key'), + ssh_public_key => hiera('bifrost_ssh_public_key'), + vlan => hiera('infracloud_vlan'), + gateway_ip => hiera('infracloud_gateway_ip'), + default_network_interface => hiera('default_network_interface'), + dhcp_pool_start => hiera('dhcp_pool_start'), + dhcp_pool_end => hiera('dhcp_pool_end'), + network_interface => hiera('network_interface'), + ipv4_nameserver => hiera('ipv4_nameserver'), + ipv4_subnet_mask => hiera('ipv4_subnet_mask'), + } +} diff --git a/puppet-infracloud/modules.env b/puppet-infracloud/modules.env index 2df81ecc..9c07ec9b 100644 --- a/puppet-infracloud/modules.env +++ b/puppet-infracloud/modules.env @@ -37,6 +37,7 @@ SOURCE_MODULES["$OPENSTACK_GIT_ROOT/openstack/puppet-nova"]="origin/stable/mitak SOURCE_MODULES["$OPENSTACK_GIT_ROOT/openstack/puppet-openstack_extras"]="origin/stable/mitaka" SOURCE_MODULES["$OPENSTACK_GIT_ROOT/openstack/puppet-openstacklib"]="origin/stable/mitaka" +SOURCE_MODULES["https://git.openstack.org/openstack-infra/puppet-vcsrepo"]="0.0.8" SOURCE_MODULES["https://github.com/duritong/puppet-sysctl"]="v0.0.11" SOURCE_MODULES["https://github.com/nanliu/puppet-staging"]="1.0.0" SOURCE_MODULES["https://github.com/jfryman/puppet-selinux"]="v0.2.5" @@ -63,9 +64,11 @@ SOURCE_MODULES["https://github.com/voxpupuli/puppet-nodejs"]="1.2.0" SOURCE_MODULES["https://github.com/voxpupuli/puppet-puppetboard"]="2.4.0" +INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-ansible"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-httpd"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-infracloud"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-iptables"]="origin/master" +INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-logrotate"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-pip"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-snmpd"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-ssh"]="origin/master" |