Override pkg_upgrade task

Change-Id: If259b1282a97899f113a5ce2915d96d7d2123664
Closes-bug: 1660530
Signed-off-by: Illia Polliul <ipolliul@mirantis.com>
(cherry picked from commit 6dfa95e628)
This commit is contained in:
Illia Polliul 2017-02-06 16:09:34 +02:00
parent 5cb3880d13
commit ff84523d58

View File

@ -1089,3 +1089,16 @@
puppet_modules: /etc/puppet/modules
timeout: 180
- id: pkg_upgrade
type: puppet
version: 2.1.0
groups: [primary-controller, controller, cinder, cinder-block-device, cinder-vmware, compute, ceph-osd, primary-mongo, mongo, ironic]
requires: [setup_repositories, common-repo]
required_for: [fuel_pkgs]
condition:
yaql_exp: $.get('mu_upgrade', {}).get('enabled') and changedAny($.mu_upgrade)
parameters:
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/upgrade/pkg_upgrade.pp
puppet_modules: /etc/puppet/modules
timeout: 3600