Merge "Enable saving of rpms"

This commit is contained in:
Zuul 2019-10-02 15:47:10 +00:00 committed by Gerrit Code Review
commit bf745be97f
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ if $(! echo $installed | grep -qw $plugin) && $($PKG list available $plugin >/de
$PKG install -y $plugin
fi
$PKG -y update $packages_for_update
YUM_OPTS="{% if yum_cache is defined and yum_cache %}--setopt=keepcache=1{% endif %}"
$PKG -y update $YUM_OPTS $packages_for_update
{% if yum_cache is defined and yum_cache %}
sync
{% else %}