aboutsummaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-12-22 22:34:26 +0000
committerGerrit Code Review <review@openstack.org>2016-12-22 22:34:26 +0000
commit3db7e6bad8d3301eaecbb833c0a934adffbbfb2b (patch)
treec90b4cc7666066fb001f604e97853ed0c4729a2e /manifests
parentbfb8e510bc1c0e7b7d95815d4f9a2ac3bcc6c001 (diff)
parent3d8dfa171437502721b599fd67e4fbd2951b7f4c (diff)
Merge "Ensure package updates don't happen unexpectedly"
Diffstat (limited to 'manifests')
-rw-r--r--manifests/packages.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/packages.pp b/manifests/packages.pp
index ec2635a..147c76a 100644
--- a/manifests/packages.pp
+++ b/manifests/packages.pp
@@ -35,7 +35,7 @@ class tripleo::packages (
# required for stages
include ::stdlib
- if !$enable_install and !$enable_upgrade {
+ if !str2bool($enable_install) and !str2bool($enable_upgrade) {
case $::osfamily {
'RedHat': {
Package <| |> { provider => 'norpm' }
@@ -46,7 +46,7 @@ class tripleo::packages (
}
}
- if $enable_upgrade {
+ if str2bool($enable_upgrade) {
Package <| |> { ensure => 'latest' }
# Running the package upgrade before managing Services in the main stage.
# So we're sure that services will be able to restart with the new version