Remove deprecated ensure_package option
Change-Id: I40cc47c2001e86914177cb38a91392fa8d9a56ba
This commit is contained in:
parent
3e3f5a2280
commit
f92f708d4c
@ -13,32 +13,16 @@
|
||||
# in the panko config.
|
||||
# Defaults to false.
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*ensure_package*]
|
||||
# (optional) The state of panko packages
|
||||
# Defaults to undef
|
||||
#
|
||||
class panko (
|
||||
$package_ensure = 'present',
|
||||
$purge_config = false,
|
||||
# DEPRECATED PARAMETERS
|
||||
$ensure_package = undef,
|
||||
) inherits panko::params {
|
||||
|
||||
include ::panko::deps
|
||||
include ::panko::logging
|
||||
|
||||
if $ensure_package {
|
||||
warning("panko::ensure_package is deprecated and will be removed in \
|
||||
the future release. Please use panko::package_ensure instead.")
|
||||
$package_ensure_real = $ensure_package
|
||||
} else {
|
||||
$package_ensure_real = $package_ensure
|
||||
}
|
||||
|
||||
package { 'panko':
|
||||
ensure => $package_ensure_real,
|
||||
ensure => $package_ensure,
|
||||
name => $::panko::params::common_package_name,
|
||||
tag => ['openstack', 'panko-package'],
|
||||
}
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
upgrade:
|
||||
- Deprecated ensure_package option has been removed.
|
Loading…
Reference in New Issue
Block a user