Merge "noop package installations inside containers"

This commit is contained in:
Zuul 2019-01-31 18:52:40 +00:00 committed by Gerrit Code Review
commit 028e73fbcf
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ class tripleo::packages (
# required for stages
include ::stdlib
if !str2bool($enable_install) and !str2bool($enable_upgrade) {
# if both enable_install and enabled_upgrade are false *or* if we're in containers we noop package installations
if (!str2bool($enable_install) and !str2bool($enable_upgrade)) or $::deployment_type == 'containers' {
case $::osfamily {
'RedHat': {
Package <| |> { provider => 'norpm' }