fuel-library/deployment/puppet/osnailyfacter/modular/plugins/tasks.yaml
Dmitry Guryanov cfd2588728 Split configuration astute.yaml into common and node parts
This file is huge if there are many nodes in cluster. Now
we generate it and store in memory for each node and it
takes a lot of time and memory.

Let's split it into common and node-specific parts so that
we can generate common part once and copy it from master
node to each node affected by deployment.

Change-Id: I114a8598460bef9063e43505f46fe38cd564d8c7
Closes-Bug: #1660308
2017-02-07 08:02:18 +00:00

26 lines
740 B
YAML

- id: plugins_rsync
type: puppet
version: 2.1.0
groups: ['/.*/']
requires: [configuration_symlink_cluster]
required_for: [pre_deployment_start]
condition:
yaql_exp: &have_plugins "len($.plugins) > 0"
parameters:
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/plugins/plugins_rsync.pp
puppet_modules: /etc/puppet/modules
timeout: 600
- id: plugins_setup_repositories
type: puppet
version: 2.1.0
groups: ['/.*/']
requires: [plugins_rsync]
required_for: [pre_deployment_start]
condition:
yaql_exp: *have_plugins
parameters:
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/plugins/plugins_setup_repositories.pp
puppet_modules: /etc/puppet/modules
timeout: 600