From c73f55b4a6c06a4b6f5906fba51ec0c26064cd6e Mon Sep 17 00:00:00 2001 From: Yolanda Robla Mota Date: Thu, 18 Aug 2016 10:45:31 +0200 Subject: Add initial puppet and hiera files Include the basic site.pp and initial modules, as long as default hieras, to manage opnfv infracloud. Change-Id: I891bc414b102257534f1d28df8299bf41c12e8f2 Signed-Off-By: Yolanda Robla --- .../modules/opnfv/manifests/compute.pp | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 puppet-infracloud/modules/opnfv/manifests/compute.pp (limited to 'puppet-infracloud/modules/opnfv/manifests/compute.pp') diff --git a/puppet-infracloud/modules/opnfv/manifests/compute.pp b/puppet-infracloud/modules/opnfv/manifests/compute.pp new file mode 100644 index 00000000..ca548a5d --- /dev/null +++ b/puppet-infracloud/modules/opnfv/manifests/compute.pp @@ -0,0 +1,23 @@ +class opnfv::compute ( + $nova_rabbit_password, + $neutron_rabbit_password, + $neutron_admin_password, + $ssl_cert_file_contents, + $ssl_key_file_contents, + $br_name, + $controller_public_address, + $virt_type = 'kvm', +) { + class { '::infracloud::compute': + nova_rabbit_password => $nova_rabbit_password, + neutron_rabbit_password => $neutron_rabbit_password, + neutron_admin_password => $neutron_admin_password, + ssl_cert_file_contents => $ssl_cert_file_contents, + ssl_key_file_contents => $ssl_key_file_contents, + br_name => $br_name, + controller_public_address => $controller_public_address, + virt_type => $virt_type, + } + +} + -- cgit 1.2.3-korg