Merge "Move sahara templates to stand alone module"
This commit is contained in:
commit
07dccaa004
@ -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']
|
||||
|
@ -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',
|
6
deployment/puppet/sahara_templates/spec/spec_helper.rb
Normal file
6
deployment/puppet/sahara_templates/spec/spec_helper.rb
Normal file
@ -0,0 +1,6 @@
|
||||
require 'puppetlabs_spec_helper/module_spec_helper'
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.mock_with :rspec
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user