933c90492a
Launch ironic-compute task only if Ironic is enabled. Change-Id: I282f853a124d51f07866c92837cd5bf9aa8a488e Closes-Bug: 1532177
55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
- id: ironic-api
|
|
type: puppet
|
|
version: 2.0.0
|
|
groups: [primary-controller, controller]
|
|
condition: "settings:additional_components.ironic.value == true"
|
|
required_for: [openstack-controller]
|
|
requires: [openstack-haproxy, ironic-db, ironic-keystone]
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/ironic/ironic.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 3600
|
|
|
|
- id: ironic-db
|
|
type: puppet
|
|
version: 2.0.0
|
|
groups: [primary-controller]
|
|
cross-depends:
|
|
- name: /(primary-)?database/
|
|
condition: "settings:additional_components.ironic.value == true"
|
|
required_for: [ironic-api]
|
|
requires: [primary-database, database]
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/ironic/db.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 1800
|
|
|
|
- id: ironic-keystone
|
|
type: puppet
|
|
version: 2.0.0
|
|
groups: [primary-controller]
|
|
condition: "settings:additional_components.ironic.value == true"
|
|
required_for: [ironic-api]
|
|
requires: [keystone]
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/ironic/keystone.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 1800
|
|
|
|
- id: ironic-compute
|
|
type: puppet
|
|
version: 2.0.0
|
|
groups: [primary-controller, controller]
|
|
condition: "settings:additional_components.ironic.value == true"
|
|
required_for: [deploy_end]
|
|
requires: [openstack-controller, ironic-api]
|
|
refresh_on: [nova_config, nova_paste_api_ini]
|
|
cross-depends:
|
|
- name: /(primary-)?rabbitmq/
|
|
- name: openstack-controller
|
|
- name: ironic-api
|
|
parameters:
|
|
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/ironic/ironic-compute.pp
|
|
puppet_modules: /etc/puppet/modules
|
|
timeout: 3600
|