Merge "Move sahara templates to stand alone module"

This commit is contained in:
Jenkins 2015-06-18 13:47:32 +00:00 committed by Gerrit Code Review
commit 07dccaa004
12 changed files with 9 additions and 3 deletions

View File

@ -62,7 +62,7 @@ if $sahara_hash['enabled'] {
}
if $primary_controller {
class { 'sahara::templates::create_templates' :
class { 'sahara_templates::create_templates' :
use_neutron => $use_neutron,
auth_user => $access_admin['user'],
auth_password => $access_admin['password'],
@ -70,7 +70,7 @@ if $sahara_hash['enabled'] {
auth_uri => "http://${management_ip}:5000/v2.0/",
}
Haproxy_backend_status['sahara'] -> Class['sahara::templates::create_templates']
Haproxy_backend_status['sahara'] -> Class['sahara_templates::create_templates']
}
Class['sahara'] -> Haproxy_backend_status['sahara']

View File

@ -1,4 +1,4 @@
class sahara::templates::create_templates (
class sahara_templates::create_templates (
$auth_uri = 'http://127.0.0.1:5000/v2.0/',
$auth_user = 'sahara',
$auth_tenant = 'services',

View File

@ -0,0 +1,6 @@
require 'puppetlabs_spec_helper/module_spec_helper'
RSpec.configure do |config|
config.mock_with :rspec
end