From f92f708d4c1c2f67ed0da709e0553341dda67432 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 29 Mar 2018 12:01:14 +0800 Subject: [PATCH] Remove deprecated ensure_package option Change-Id: I40cc47c2001e86914177cb38a91392fa8d9a56ba --- manifests/init.pp | 18 +----------------- ...ensure_package_option-8af908c11bc0b950.yaml | 3 +++ 2 files changed, 4 insertions(+), 17 deletions(-) create mode 100644 releasenotes/notes/remove_deprecated_ensure_package_option-8af908c11bc0b950.yaml diff --git a/manifests/init.pp b/manifests/init.pp index f2b675c..40c081a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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'], } diff --git a/releasenotes/notes/remove_deprecated_ensure_package_option-8af908c11bc0b950.yaml b/releasenotes/notes/remove_deprecated_ensure_package_option-8af908c11bc0b950.yaml new file mode 100644 index 0000000..6725307 --- /dev/null +++ b/releasenotes/notes/remove_deprecated_ensure_package_option-8af908c11bc0b950.yaml @@ -0,0 +1,3 @@ +--- +upgrade: + - Deprecated ensure_package option has been removed.