diff options
author | 2016-09-16 17:32:44 +0200 | |
---|---|---|
committer | 2016-09-16 18:02:09 +0200 | |
commit | 282c226c7d8485b4599106a17d97f4c5f087b9a3 (patch) | |
tree | cac92ae28939a036d1d550ea6b5aad7dd0886a06 /prototypes/puppet-infracloud/manifests | |
parent | 07ea4cb123d30a1e5948b88b75b651e3e902328b (diff) |
Add baremetal node for puppet-infracloud
Change-Id: Ie18b25634016dcc98ec83e30c51b4c386ffd9ecc
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
Diffstat (limited to 'prototypes/puppet-infracloud/manifests')
-rw-r--r-- | prototypes/puppet-infracloud/manifests/site.pp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/prototypes/puppet-infracloud/manifests/site.pp b/prototypes/puppet-infracloud/manifests/site.pp index 1bbd282ee..2cb12a3cd 100644 --- a/prototypes/puppet-infracloud/manifests/site.pp +++ b/prototypes/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'), + } +} |