Browse Source

Merge "ironic-inspector: Include independent classes for ironic/swift options"

changes/20/824520/1
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
fe6c0a5789
  1. 2
      manifests/profile/base/ironic_inspector.pp
  2. 8
      spec/classes/tripleo_profile_base_ironic_inspector_spec.rb

2
manifests/profile/base/ironic_inspector.pp

@ -85,5 +85,7 @@ class tripleo::profile::base::ironic_inspector (
include ironic::inspector::pxe_filter::dnsmasq
include ironic::inspector::config
include ironic::inspector::logging
include ironic::inspector::ironic
include ironic::inspector::swift
}
}

8
spec/classes/tripleo_profile_base_ironic_inspector_spec.rb

@ -37,6 +37,8 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to_not contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to_not contain_class('ironic::inspector::config')
is_expected.to_not contain_class('ironic::inspector::logging')
is_expected.to_not contain_class('ironic::inspector::ironic')
is_expected.to_not contain_class('ironic::inspector::swift')
}
end
@ -57,6 +59,8 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to contain_class('ironic::inspector::config')
is_expected.to contain_class('ironic::inspector::logging')
is_expected.to contain_class('ironic::inspector::ironic')
is_expected.to contain_class('ironic::inspector::swift')
}
end
@ -74,6 +78,8 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to_not contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to_not contain_class('ironic::inspector::config')
is_expected.to_not contain_class('ironic::inspector::logging')
is_expected.to_not contain_class('ironic::inspector::ironic')
is_expected.to_not contain_class('ironic::inspector::swift')
}
end
@ -94,6 +100,8 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to contain_class('ironic::inspector::config')
is_expected.to contain_class('ironic::inspector::logging')
is_expected.to contain_class('ironic::inspector::ironic')
is_expected.to contain_class('ironic::inspector::swift')
}
end

Loading…
Cancel
Save