Files
puppet-ironic/manifests/drivers/staging.pp
Takashi Kajinami 11ec098e5d Deprecate support for staging driver
ironic-staging-driver[1] is unmaintained. The repository does not have
stable branches created since yoga.

It was asked if anyone is using this driver in the mailing list but
we haven't heard any response.

[1] https://opendev.org/x/ironic-staging-drivers#
[2] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/S4UYAPCPVXWEC6RDJ4GLTFCFT5XTCVQG/

Change-Id: I41a8aebe24aa4155c2e5029b187a2ba43ebb313b
2023-11-01 11:22:35 +00:00

30 lines
755 B
Puppet

# Class ironic::drivers::staging
#
# Manages the ironic-staging-drivers package on systems
#
# === Parameters:
#
# [*package_ensure*]
# (optional) The state of the package
# Defaults to present
#
class ironic::drivers::staging (
$package_ensure = present
) {
include ironic::deps
include ironic::params
warning('Support for staging driver has been deprecated and will be removed in a future release.')
if $::ironic::params::staging_drivers_package {
package { 'ironic-staging-drivers':
ensure => $package_ensure,
name => $::ironic::params::staging_drivers_package,
tag => ['openstack', 'ironic-support-package'],
}
} else {
fail('This distribution does not provide the staging driver package.')
}
}