From 9c131c1d84357175448496590e8d4e31e90118aa Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 31 Mar 2013 14:14:01 -0700 Subject: add ability to search for nodes using nil values. --- test/provider/Leapfile | 1 + test/provider/nodes/ns1.json | 1 - test/provider/nodes/ns2.json | 1 - test/provider/nodes/pcouch1.json | 5 +++++ test/provider/nodes/pweb1.json | 5 +++++ test/provider/nodes/vpn1.json | 1 - test/provider/tags/production.json | 2 +- 7 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 test/provider/Leapfile create mode 100644 test/provider/nodes/pcouch1.json create mode 100644 test/provider/nodes/pweb1.json (limited to 'test/provider') diff --git a/test/provider/Leapfile b/test/provider/Leapfile new file mode 100644 index 0000000..5172af9 --- /dev/null +++ b/test/provider/Leapfile @@ -0,0 +1 @@ +@platform_directory = '../leap_platform' \ No newline at end of file diff --git a/test/provider/nodes/ns1.json b/test/provider/nodes/ns1.json index afb5ef1..c74bd40 100644 --- a/test/provider/nodes/ns1.json +++ b/test/provider/nodes/ns1.json @@ -3,6 +3,5 @@ // { "services": "dns", - "tags": "production", "ip_address": "1.1.1.1" } \ No newline at end of file diff --git a/test/provider/nodes/ns2.json b/test/provider/nodes/ns2.json index e1917fb..c051b95 100644 --- a/test/provider/nodes/ns2.json +++ b/test/provider/nodes/ns2.json @@ -3,6 +3,5 @@ // { "services": "dns", - "tags": "production", "ip_address": "1.1.1.2" } \ No newline at end of file diff --git a/test/provider/nodes/pcouch1.json b/test/provider/nodes/pcouch1.json new file mode 100644 index 0000000..35ea3aa --- /dev/null +++ b/test/provider/nodes/pcouch1.json @@ -0,0 +1,5 @@ +{ + "tags": "production", + "services": "couchdb", + "ip_address": "11.0.0.2" +} diff --git a/test/provider/nodes/pweb1.json b/test/provider/nodes/pweb1.json new file mode 100644 index 0000000..7debe74 --- /dev/null +++ b/test/provider/nodes/pweb1.json @@ -0,0 +1,5 @@ +{ + "tags": "production", + "services": "webapp", + "ip_address": "11.0.0.1" +} \ No newline at end of file diff --git a/test/provider/nodes/vpn1.json b/test/provider/nodes/vpn1.json index 5115cb2..15dd260 100644 --- a/test/provider/nodes/vpn1.json +++ b/test/provider/nodes/vpn1.json @@ -1,7 +1,6 @@ { "services": "openvpn", "ip_address": "10.5.5.3", - "tags": "production", "openvpn": { "gateway_address": "3.3.3.3", "filter_dns": true diff --git a/test/provider/tags/production.json b/test/provider/tags/production.json index b35c065..ea17498 100644 --- a/test/provider/tags/production.json +++ b/test/provider/tags/production.json @@ -1,3 +1,3 @@ { - "production": true + "environment": "production" } \ No newline at end of file -- cgit v1.2.3