Łukasz Oleś 25dc2685f5 Refactor VirtualResources
- rename VirtualResource to Composer
- rename event parameter depend_action to child_action
- rename values parameter to input

Closes-bug: #1526780

Change-Id: Ib974e14ff4bda44c2d7d991f62aa4a06dea160ea
2015-12-29 16:50:46 +01:00

23 lines
445 B
YAML

id: librarian_examples
resources:
- id: rabbitmq_service1
from: resources/rabbitmq_service
location: #{node}#
input:
management_port: 15672
port: 5672
- id: librarian
location: #{node}#
from: resources/librarian
input:
modules:
- rabbitmq_service1::module::NO_EVENTS
events:
- type: depends_on
parent_action: librarian.run
state: success
child_action: rabbitmq_service1.run