Include openstacklib defaults manifest.

This provides a mechanism for setting default across all modules.

Change-Id: I28c8f651f8c81de6ab2d3cb73ac67d57cad0a264
Related-Bug: 1599113
This commit is contained in:
Sofer Athlan-Guyot 2016-07-07 12:00:55 +02:00 committed by Athlan-Guyot sofer
parent e2c322095a
commit 5a83a8d56d
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# these parameters need to be accessed from several locations and
# should be considered to be constant
class glance::params {
include ::openstacklib::defaults
$client_package_name = 'python-glanceclient'

View File

@ -413,7 +413,7 @@ describe 'glance::api' do
describe 'on unknown platforms' do
let :facts do
{ :osfamily => 'unknown' }
OSDefaults.get_facts({ :osfamily => 'unknown' })
end
let(:params) { default_params }

View File

@ -245,7 +245,7 @@ describe 'glance::registry' do
describe 'on unknown platforms' do
let :facts do
{ :osfamily => 'unknown' }
OSDefaults.get_facts({ :osfamily => 'unknown' })
end
let(:params) { default_params }