Install ironic-common in pxe module if not defined
This will help resolve issues in configuring the ironic-inspector with docker which uses an isolated puppet run to generate ironic-inspector configs. Change-Id: Iff05045ee5f5ed69777689d4fcc0bae6362d2b72 Closes-bug: #1666287
This commit is contained in:
@@ -386,11 +386,10 @@ ironic::glance_num_retries are deprecated in favor of ironic::glance::api_server
|
||||
ironic::glance::api_insecure and ironic::glance::num_retries accordingly")
|
||||
}
|
||||
|
||||
package { 'ironic-common':
|
||||
ensure => $package_ensure,
|
||||
name => $::ironic::params::common_package_name,
|
||||
tag => ['openstack', 'ironic-package'],
|
||||
}
|
||||
ensure_resource( 'package', 'ironic-common', {
|
||||
ensure => $package_ensure,
|
||||
name => $::ironic::params::common_package_name,
|
||||
tag => ['openstack', 'ironic-package'],})
|
||||
|
||||
package { 'ironic-lib':
|
||||
ensure => $package_ensure,
|
||||
|
||||
@@ -67,6 +67,11 @@ class ironic::pxe (
|
||||
before => Anchor['ironic::config::end'],
|
||||
}
|
||||
|
||||
ensure_resource( 'package', 'ironic-common', {
|
||||
ensure => $package_ensure,
|
||||
name => $::ironic::params::common_package_name,
|
||||
tag => ['openstack', 'ironic-package'],})
|
||||
|
||||
file { "${tftp_root_real}/pxelinux.cfg":
|
||||
ensure => 'directory',
|
||||
seltype => 'tftpdir_t',
|
||||
|
||||
Reference in New Issue
Block a user