summaryrefslogtreecommitdiff
path: root/test/provider
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-03-31 14:14:01 -0700
committerelijah <elijah@riseup.net>2013-03-31 14:14:01 -0700
commit9c131c1d84357175448496590e8d4e31e90118aa (patch)
tree156e4a573fd39b4f256a8c6b4eeaa78303834f02 /test/provider
parent354c455dc6d463d5eed43804d1eb3aaa95c9e471 (diff)
add ability to search for nodes using nil values.
Diffstat (limited to 'test/provider')
-rw-r--r--test/provider/Leapfile1
-rw-r--r--test/provider/nodes/ns1.json1
-rw-r--r--test/provider/nodes/ns2.json1
-rw-r--r--test/provider/nodes/pcouch1.json5
-rw-r--r--test/provider/nodes/pweb1.json5
-rw-r--r--test/provider/nodes/vpn1.json1
-rw-r--r--test/provider/tags/production.json2
7 files changed, 12 insertions, 4 deletions
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