Browse Source

ironic-inspector: Allow arbitrary configurations

This change allows arbitrary configurations of inspector.conf, so that
users can customize the parameters even if these are not supported by
puppet-ironic.

Depends-on: https://review.opendev.org/823613
Change-Id: Ibdaf0ce1f0b03de19015bee61ff60cdb9c3b6ba0
changes/14/823614/1
Takashi Kajinami 5 months ago
parent
commit
be5ca93a7c
  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

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

8
spec/classes/tripleo_profile_base_ironic_inspector_spec.rb

@ -35,7 +35,7 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to_not contain_class('ironic::inspector::db')
is_expected.to_not contain_class('ironic::inspector::pxe_filter')
is_expected.to_not contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to_not contain_class('ironic::config')
is_expected.to_not contain_class('ironic::inspector::config')
is_expected.to_not contain_class('ironic::inspector::logging')
}
end
@ -55,7 +55,7 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to contain_class('ironic::inspector::db')
is_expected.to contain_class('ironic::inspector::pxe_filter')
is_expected.to contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to contain_class('ironic::config')
is_expected.to contain_class('ironic::inspector::config')
is_expected.to contain_class('ironic::inspector::logging')
}
end
@ -72,7 +72,7 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to_not contain_class('ironic::inspector::db')
is_expected.to_not contain_class('ironic::inspector::pxe_filter')
is_expected.to_not contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to_not contain_class('ironic::config')
is_expected.to_not contain_class('ironic::inspector::config')
is_expected.to_not contain_class('ironic::inspector::logging')
}
end
@ -92,7 +92,7 @@ describe 'tripleo::profile::base::ironic_inspector' do
is_expected.to contain_class('ironic::inspector::db')
is_expected.to contain_class('ironic::inspector::pxe_filter')
is_expected.to contain_class('ironic::inspector::pxe_filter::dnsmasq')
is_expected.to contain_class('ironic::config')
is_expected.to contain_class('ironic::inspector::config')
is_expected.to contain_class('ironic::inspector::logging')
}
end

Loading…
Cancel
Save