From 486de6e5252ed2f69ae7cc85c68813dd1d251eab Mon Sep 17 00:00:00 2001 From: Jedrzej Nowak Date: Tue, 29 Dec 2015 18:52:39 +0100 Subject: [PATCH] Possible to use relative paths in CR Useful for CRs that are outside of repo (ie. riak_cluster.yaml) Change-Id: I7f436cb447a22c9bc5b68a35d1c73538571dfd10 --- examples/riak/riak_cluster.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/examples/riak/riak_cluster.yaml b/examples/riak/riak_cluster.yaml index 5b14533..3c2c6c8 100644 --- a/examples/riak/riak_cluster.yaml +++ b/examples/riak/riak_cluster.yaml @@ -2,28 +2,31 @@ id: riak_cluster resources: - id: riak_service1 - from: examples/riak/riak_service.yaml + # `./` added by intention + from: ./riak_service.yaml input: node: #{nodes[0]}# - index: 1 + index: 1 join_to: '' - id: riak_service2 - from: examples/riak/riak_service.yaml + # `./` ommited by intention + from: riak_service.yaml input: node: #{nodes[1]}# - index: 2 + index: 2 join_to: riak_service1 - id: riak_service3 - from: examples/riak/riak_service.yaml + # `./` ommited by intention + from: riak_service.yaml input: node: #{nodes[2]}# - index: 3 + index: 3 join_to: riak_service1 - id: haproxy_riak_config - from: examples/riak/haproxy_riak_config.yaml + from: ./haproxy_riak_config.yaml input: http_listen_port: 8098 pb_listen_port: 8087