From 73b126976ad7843eb47a84944cf191bf05b14216 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 9 Oct 2012 00:05:44 -0700 Subject: fixed paths --- test/provider/services/couchdb.json | 3 +++ test/provider/services/dns.json | 6 ++++++ test/provider/services/openvpn.json | 11 +++++++++++ test/provider/services/webapp.json | 7 +++++++ 4 files changed, 27 insertions(+) create mode 100644 test/provider/services/couchdb.json create mode 100644 test/provider/services/dns.json create mode 100644 test/provider/services/openvpn.json create mode 100644 test/provider/services/webapp.json (limited to 'test/provider/services') 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 -- cgit v1.2.3