# This tasks will be applied on slave nodes, # here you can also specify several roles, for example # ['cinder', 'compute'] will be applied only on # cinder and compute nodes # ##################################### # In case of base-os Hiera must be deployed manually - role: ['base-os'] stage: pre_deployment type: puppet parameters: puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/hiera/hiera.pp puppet_modules: /etc/puppet/modules timeout: 720 - role: ['base-os'] stage: pre_deployment type: shell parameters: cmd: ln -sf /etc/base-os.yaml /etc/astute.yaml timeout: 30 # In case of base-os globals.yaml must be created - role: ['base-os'] stage: pre_deployment type: puppet parameters: puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/globals/globals.pp puppet_modules: /etc/puppet/modules timeout: 720 - role: '*' stage: pre_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-common-pre.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 720 # Config default network, first of all - role: ['base-os'] stage: pre_deployment type: puppet parameters: puppet_modules: /etc/puppet/modules puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/netconfig/netconfig.pp timeout: 3600 - role: ['base-os'] stage: pre_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-contrail-pre.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 720 - role: ['primary-controller','controller'] stage: post_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-controller-post1.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 720 - role: ['base-os'] stage: post_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-contrail-post1.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 720 - role: ['base-os'] stage: post_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-contrail-post2.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 3600 - role: ['base-os'] stage: post_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-contrail-post3.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 1440 - role: ['base-os'] stage: post_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-contrail-post4.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 1440 - role: ['primary-controller','controller'] stage: post_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-controller-post2.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 720 - role: ['compute'] stage: post_deployment type: puppet parameters: puppet_manifest: puppet/manifests/site-compute-post.pp puppet_modules: puppet/modules:/etc/puppet/modules timeout: 720 - role: ['compute'] stage: post_deployment type: shell parameters: cmd: if [ ! -f /opt/contrail/reboot-vrouter-DONE ]; then touch /opt/contrail/reboot-vrouter-DONE && /sbin/reboot; fi timeout: 720