New type: replace for nailgun tasks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Python (Deprecated) |
Bug Description
This is feature request for implementing/
- id: netconfig
type: skipped
- id: netconfig-patched
type: puppet
groups: [primary-
required_for: [deploy_end]
requires: [tools]
parameters:
puppet_
puppet_modules: /etc/puppet/modules
timeout: 3600
The problem with such approach that all tasks that depends on "netconfig" loose their dependencies.
We need something like this:
- id: netconfig-patched
type: puppet
groups: [primary-
replace: [netconfig]
parameters:
puppet_
puppet_modules: /etc/puppet/modules
timeout: 3600
tags: | added: area-python feature |
Hey Nikita,
The proposed variant looks like a feature, since it requires to have a special handling for "replace" attribute.
What about replacing by just using the same ID in plugin? I mean you just define a new task with the same ID, for instance:
- id: netconfig controller, controller, cinder, cinder-vmware, compute, ceph-osd, zabbix-server, primary-mongo, mongo, virt] manifest: /etc/puppet/ modules/ osnailyfacter/ modular/ netconfig/ netconfig- patched. pp modules: /etc/puppet/modules
type: puppet
groups: [primary-
required_for: [deploy_end]
requires: [tools]
parameters:
puppet_
puppet_
timeout: 3600
Would it work for you?