summaryrefslogtreecommitdiff
path: root/test/provider/services
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-09 00:05:44 -0700
committerelijah <elijah@riseup.net>2012-10-09 00:05:44 -0700
commit73b126976ad7843eb47a84944cf191bf05b14216 (patch)
tree918656f8d7c637e8c7a8f0c010eff55bfd98ae1b /test/provider/services
parent578ac2f5dc7432317d7a022bed9d869ab89ee45c (diff)
fixed paths
Diffstat (limited to 'test/provider/services')
-rw-r--r--test/provider/services/couchdb.json3
-rw-r--r--test/provider/services/dns.json6
-rw-r--r--test/provider/services/openvpn.json11
-rw-r--r--test/provider/services/webapp.json7
4 files changed, 27 insertions, 0 deletions
diff --git a/test/provider/services/couchdb.json b/test/provider/services/couchdb.json
new file mode 100644
index 0000000..7c13c8d
--- /dev/null
+++ b/test/provider/services/couchdb.json
@@ -0,0 +1,3 @@
+{
+ "public_dns": false
+} \ No newline at end of file
diff --git a/test/provider/services/dns.json b/test/provider/services/dns.json
new file mode 100644
index 0000000..3fea381
--- /dev/null
+++ b/test/provider/services/dns.json
@@ -0,0 +1,6 @@
+{
+ "hosts": {
+ "public": "= nodes[:public_dns => true].fields(:fqdn, :dns_alias, :ip_address)",
+ "private": "= nodes[:public_dns => false].fields(:fqdn, :dns_alias, :ip_address)"
+ }
+} \ No newline at end of file
diff --git a/test/provider/services/openvpn.json b/test/provider/services/openvpn.json
new file mode 100644
index 0000000..ffaa313
--- /dev/null
+++ b/test/provider/services/openvpn.json
@@ -0,0 +1,11 @@
+{
+ "openvpn": {
+ "ports": ["80", "443", "53", "1194"],
+ "filter_dns": false,
+ "nat": true,
+ "ca_crt": "= file 'ca/ca.crt'",
+ "ca_key": "= file 'ca/ca.key'",
+ "server_crt": "= file fqdn + '.crt'",
+ "server_key": "= file fqdn + '.key'"
+ }
+}
diff --git a/test/provider/services/webapp.json b/test/provider/services/webapp.json
new file mode 100644
index 0000000..1513d6f
--- /dev/null
+++ b/test/provider/services/webapp.json
@@ -0,0 +1,7 @@
+{
+ "dns_alias": "= 'user.' + domain_public",
+ "webapp": {
+ "modules": ["user", "billing", "help"],
+ "couchdb_hosts": "= nodes[:services => :couchdb].field(:fqdn)"
+ }
+} \ No newline at end of file