fuel-library/deployment/puppet/osnailyfacter/modular/hosts/tasks.yaml
Kyrylo Galanov bf14da9bf2 Decrease task timeouts according to actual duration
Most of tasks had timeout equal to 3600 seconds whereas actual duration
is no more than 1 minute.
Minimal timeout is 60 seconds even if task is complete in a few seconds.
New timeout ~ duration * 2.5

Change-Id: Iea9ee8f5038f5fcfd9dcdfc2d9ba964eab035549
Closes-bug: #1558505
2016-05-25 14:11:26 +02:00

17 lines
615 B
YAML

- id: hosts
type: puppet
version: 2.1.0
groups: [primary-controller, controller, cinder, cinder-block-device, cinder-vmware, compute, ceph-osd, primary-mongo, mongo, ironic]
required_for: [deploy_end]
requires: [netconfig]
condition:
yaql_exp: 'changed($.network_metadata)'
parameters:
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/hosts/hosts.pp
puppet_modules: /etc/puppet/modules
timeout: 120
test_pre:
cmd: ruby /etc/puppet/modules/osnailyfacter/modular/hosts/hosts_pre.rb
test_post:
cmd: ruby /etc/puppet/modules/osnailyfacter/modular/hosts/hosts_post.rb