cfd2588728
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
26 lines
740 B
YAML
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
|