summaryrefslogtreecommitdiffstats
path: root/prototypes/puppet-infracloud/modules/opnfv/manifests/compute.pp
diff options
context:
space:
mode:
authorYolanda Robla Mota <yroblamo@redhat.com>2016-08-18 10:45:31 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-23 12:42:04 +0000
commit817187f7c60abbb81522e6215d268fd659a7c714 (patch)
tree0efba32aceaad83e3d7727c2f9884fa97ff7222f /prototypes/puppet-infracloud/modules/opnfv/manifests/compute.pp
parent2d159fc0fc7c2b0cd4c911e30f83a4713ee0a2dc (diff)
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 <yroblamo@redhat.com>
Diffstat (limited to 'prototypes/puppet-infracloud/modules/opnfv/manifests/compute.pp')
-rw-r--r--prototypes/puppet-infracloud/modules/opnfv/manifests/compute.pp23
1 files changed, 23 insertions, 0 deletions
diff --git a/prototypes/puppet-infracloud/modules/opnfv/manifests/compute.pp b/prototypes/puppet-infracloud/modules/opnfv/manifests/compute.pp
new file mode 100644
index 000000000..ca548a5d5
--- /dev/null
+++ b/prototypes/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,
+ }
+
+}
+