Include openstacklib defaults manifest.

This provides a mechanism for setting default across all modules.

Change-Id: I15dfca3d411b6da653718627549f186da704e6ae
Related-Bug: 1599113
This commit is contained in:
Sofer Athlan-Guyot
2016-07-07 12:00:58 +02:00
committed by Sofer Athlan-Guyot
parent 44885ec20e
commit 7526bfa4fa
2 changed files with 3 additions and 2 deletions

View File

@@ -19,6 +19,7 @@
# #
class ironic::params { class ironic::params {
include ::openstacklib::defaults
$dbsync_command = $dbsync_command =
'ironic-dbsync --config-file /etc/ironic/ironic.conf' 'ironic-dbsync --config-file /etc/ironic/ironic.conf'

View File

@@ -3,11 +3,11 @@ require 'spec_helper'
describe 'ironic::wsgi::apache' do describe 'ironic::wsgi::apache' do
let :global_facts do let :global_facts do
{ OSDefaults.get_facts({
:processorcount => 42, :processorcount => 42,
:concat_basedir => '/var/lib/puppet/concat', :concat_basedir => '/var/lib/puppet/concat',
:fqdn => 'some.host.tld' :fqdn => 'some.host.tld'
} })
end end
shared_examples_for 'apache serving ironic with mod_wsgi' do shared_examples_for 'apache serving ironic with mod_wsgi' do