Switch to namespace sdtlib functions
puppetlabs-stdlib deprecated the existing functions in favor of the new stdlib:: functions in 9.0.0. The version was released a few years ago and now we assume we are ready to adopt to the migration. Change-Id: I8bf8e7760d1deffb0f5b3db4f8c5254e5b3b8248 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -99,14 +99,14 @@ class ironic::drivers::ansible (
|
||||
'ansible/default_python_interpreter': value => $default_python_interpreter;
|
||||
}
|
||||
|
||||
ensure_packages('ansible',
|
||||
stdlib::ensure_packages('ansible',
|
||||
{
|
||||
ensure => $package_ensure,
|
||||
tag => ['openstack', 'ironic-package'],
|
||||
}
|
||||
)
|
||||
|
||||
ensure_packages('systemd-python',
|
||||
stdlib::ensure_packages('systemd-python',
|
||||
{
|
||||
ensure => $package_ensure,
|
||||
name => $ironic::params::systemd_python_package,
|
||||
|
@@ -57,7 +57,7 @@ class ironic::drivers::ilo (
|
||||
'ilo/default_boot_mode': value => $default_boot_mode;
|
||||
}
|
||||
|
||||
ensure_packages('python-proliantutils',
|
||||
stdlib::ensure_packages('python-proliantutils',
|
||||
{
|
||||
ensure => $package_ensure,
|
||||
name => $ironic::params::proliantutils_package_name,
|
||||
|
@@ -133,7 +133,7 @@ class ironic::drivers::redfish (
|
||||
'redfish/boot_mode_config_timeout': value => $boot_mode_config_timeout;
|
||||
}
|
||||
|
||||
ensure_packages('python-sushy',
|
||||
stdlib::ensure_packages('python-sushy',
|
||||
{
|
||||
ensure => $package_ensure,
|
||||
name => $ironic::params::sushy_package_name,
|
||||
|
@@ -11,7 +11,7 @@
|
||||
},
|
||||
{
|
||||
"name": "puppetlabs/stdlib",
|
||||
"version_requirement": ">=5.0.0 <10.0.0"
|
||||
"version_requirement": ">=9.0.0 <10.0.0"
|
||||
},
|
||||
{
|
||||
"name": "openstack/openstacklib",
|
||||
|
Reference in New Issue
Block a user