Add react event for nova_puppet -> nova_compute. Move acctions to meta

This commit is contained in:
Łukasz Oleś 2015-10-23 14:15:48 +02:00
parent 7e2460911a
commit 067ceb9a5e
2 changed files with 5 additions and 0 deletions

View File

@ -643,6 +643,7 @@ def setup_nova_compute(node, librarian, nova_puppet, nova_api_puppet, neutron_se
node.connect(nova_compute_puppet)
evapi.add_dep(nova_puppet2.name, nova_compute_puppet.name, actions=('run',))
evapi.add_dep(nova_api_puppet.name, nova_compute_puppet.name, actions=('run',))
evapi.add_react(nova_puppet2.name, nova_compute_puppet.name, actions=('run', 'update'))
# NOVA COMPUTE LIBVIRT, NOVA_NEUTRON
# NOTE(bogdando): changes nova config, so should notify nova compute service

View File

@ -1,6 +1,10 @@
id: librarian
handler: ansible
version: 0.0.1
actions:
run: run.yaml
update: run.yaml
remove: remove.yaml
input:
modules:
schema: [str]