summaryrefslogtreecommitdiffstats
path: root/prototypes/puppet-infracloud/manifests/site.pp
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-09-18 21:34:47 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-18 21:34:47 +0000
commit6c72cb2b39819fc213d836e4146337f9ffde66e6 (patch)
tree397a18300f9ab5ff2b6b1b76c862533c8e9dd3cd /prototypes/puppet-infracloud/manifests/site.pp
parent165ef3f47acf63273ab64ee83818487997c18587 (diff)
parent282c226c7d8485b4599106a17d97f4c5f087b9a3 (diff)
Merge "Add baremetal node for puppet-infracloud"
Diffstat (limited to 'prototypes/puppet-infracloud/manifests/site.pp')
-rw-r--r--prototypes/puppet-infracloud/manifests/site.pp26
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'),
+ }
+}