From 78178746ee2a1f25752c8ca27e918e4183b63762 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 12 Feb 2016 11:56:28 -0500 Subject: [PATCH] Deploy MongoDB on scenario002 Some services (like Zaqar) require MongoDB in place to be tested. We plan to test Zaqar soon, when the Puppet module will be finished. So this patch is a first iteration by deploying MongoDB. It also bump the version of puppetlabs-mongodb to use latest release (0.12). Change-Id: I408049e658e1b7466dfce9dc565480b538656230 --- Puppetfile | 2 +- README.md | 1 + fixtures/scenario002.pp | 1 + manifests/mongodb.pp | 7 +++++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 manifests/mongodb.pp diff --git a/Puppetfile b/Puppetfile index 370ff98a4..200c8b16d 100644 --- a/Puppetfile +++ b/Puppetfile @@ -148,7 +148,7 @@ mod 'memcached', mod 'mongodb', :git => 'https://github.com/puppetlabs/puppetlabs-mongodb', - :branch => '0.11.0' + :branch => '0.12.0' mod 'mysql', :git => 'https://github.com/puppetlabs/puppetlabs-mysql', diff --git a/README.md b/README.md index 765c7be38..2d9553079 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ scenario](#All-In-One). | horizon | | X | X | | ironic | | X | | | ceph | X | | | +| mongodb | | X | | When the Jenkins slave is created, the *run_tests.sh* script will executed. This script will execute *install_modules.sh* that prepare /etc/puppet/modules diff --git a/fixtures/scenario002.pp b/fixtures/scenario002.pp index 48744d71b..dc6362a4f 100644 --- a/fixtures/scenario002.pp +++ b/fixtures/scenario002.pp @@ -26,6 +26,7 @@ include ::openstack_integration::horizon include ::openstack_integration::sahara include ::openstack_integration::swift include ::openstack_integration::ironic +include ::openstack_integration::mongodb include ::openstack_integration::provision case $::osfamily { diff --git a/manifests/mongodb.pp b/manifests/mongodb.pp new file mode 100644 index 000000000..330a7c6d6 --- /dev/null +++ b/manifests/mongodb.pp @@ -0,0 +1,7 @@ +class openstack_integration::mongodb { + + include ::mongodb::globals + include ::mongodb::server + include ::mongodb::client + +}