diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-12-22 22:34:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-12-22 22:34:26 +0000 |
commit | 3db7e6bad8d3301eaecbb833c0a934adffbbfb2b (patch) | |
tree | c90b4cc7666066fb001f604e97853ed0c4729a2e /manifests | |
parent | bfb8e510bc1c0e7b7d95815d4f9a2ac3bcc6c001 (diff) | |
parent | 3d8dfa171437502721b599fd67e4fbd2951b7f4c (diff) |
Merge "Ensure package updates don't happen unexpectedly"
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/packages.pp | 4 |
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 |