diff --git a/manifests/pxe.pp b/manifests/pxe.pp index 81ec1fe1..ef9569c6 100644 --- a/manifests/pxe.pp +++ b/manifests/pxe.pp @@ -259,7 +259,7 @@ class ironic::pxe ( ironic::pxe::tftpboot_file { 'pxelinux.0': source_directory => $pxelinux_path, destination_directory => $tftp_root_real, - require => Anchor['ironic-inspector::install::end'], + require => Anchor['ironic::install::end'], } } @@ -273,7 +273,7 @@ class ironic::pxe ( ironic::pxe::tftpboot_file { $syslinux_files: source_directory => $syslinux_path, destination_directory => $tftp_root_real, - require => Anchor['ironic-inspector::install::end'], + require => Anchor['ironic::install::end'], } } @@ -292,7 +292,7 @@ class ironic::pxe ( source => "${::ironic::params::ipxe_rom_dir}/undionly.kpxe", backup => false, show_diff => false, - require => Anchor['ironic-inspector::install::end'], + require => Anchor['ironic::install::end'], tag => 'ironic-tftp-file', } @@ -305,7 +305,7 @@ class ironic::pxe ( source => "${::ironic::params::ipxe_rom_dir}/${ipxe_name_base}${arch}.efi", backup => false, show_diff => false, - require => Anchor['ironic-inspector::install::end'], + require => Anchor['ironic::install::end'], tag => 'ironic-tftp-file', } @@ -324,7 +324,7 @@ class ironic::pxe ( source => "${::ironic::params::grub_efi_file}", backup => false, show_diff => false, - require => Anchor['ironic-inspector::install::end'], + require => Anchor['ironic::install::end'], tag => 'ironic-tftp-file', } @@ -343,7 +343,7 @@ class ironic::pxe ( source => "${::ironic::params::shim_file}", backup => false, show_diff => false, - require => Anchor['ironic-inspector::install::end'], + require => Anchor['ironic::install::end'], tag => 'ironic-tftp-file', } diff --git a/spec/classes/ironic_pxe_spec.rb b/spec/classes/ironic_pxe_spec.rb index ad129193..d9b0ed1f 100644 --- a/spec/classes/ironic_pxe_spec.rb +++ b/spec/classes/ironic_pxe_spec.rb @@ -57,7 +57,7 @@ describe 'ironic::pxe' do is_expected.to contain_file('/tftpboot/undionly.kpxe').with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false, @@ -68,7 +68,7 @@ describe 'ironic::pxe' do is_expected.to contain_file("/tftpboot/#{platform_params[:uefi_ipxe_bootfile_name]}").with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false, @@ -87,7 +87,7 @@ describe 'ironic::pxe' do is_expected.to contain_file('/tftpboot/bootx64.efi').with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false, @@ -105,7 +105,7 @@ describe 'ironic::pxe' do is_expected.to contain_file('/tftpboot/grubx64.efi').with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false, @@ -162,7 +162,7 @@ describe 'ironic::pxe' do is_expected.to contain_file('/var/lib/tftpboot/undionly.kpxe').with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false, @@ -173,7 +173,7 @@ describe 'ironic::pxe' do is_expected.to contain_file("/var/lib/tftpboot/#{platform_params[:uefi_ipxe_bootfile_name]}").with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false, @@ -185,7 +185,7 @@ describe 'ironic::pxe' do is_expected.to contain_file('/var/lib/tftpboot/bootx64.efi').with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false, @@ -196,7 +196,7 @@ describe 'ironic::pxe' do is_expected.to contain_file('/var/lib/tftpboot/grubx64.efi').with( 'owner' => 'ironic', 'group' => 'ironic', - 'require' => 'Anchor[ironic-inspector::install::end]', + 'require' => 'Anchor[ironic::install::end]', 'seltype' => 'tftpdir_t', 'ensure' => 'file', 'show_diff' => false,