From 578ac2f5dc7432317d7a022bed9d869ab89ee45c Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 9 Oct 2012 00:01:55 -0700 Subject: initial code commit --- cli/test/provider/services/couchdb.json | 3 +++ cli/test/provider/services/dns.json | 6 ++++++ cli/test/provider/services/openvpn.json | 11 +++++++++++ cli/test/provider/services/webapp.json | 7 +++++++ 4 files changed, 27 insertions(+) create mode 100644 cli/test/provider/services/couchdb.json create mode 100644 cli/test/provider/services/dns.json create mode 100644 cli/test/provider/services/openvpn.json create mode 100644 cli/test/provider/services/webapp.json (limited to 'cli/test/provider/services') diff --git a/cli/test/provider/services/couchdb.json b/cli/test/provider/services/couchdb.json new file mode 100644 index 0000000..7c13c8d --- /dev/null +++ b/cli/test/provider/services/couchdb.json @@ -0,0 +1,3 @@ +{ + "public_dns": false +} \ No newline at end of file diff --git a/cli/test/provider/services/dns.json b/cli/test/provider/services/dns.json new file mode 100644 index 0000000..3fea381 --- /dev/null +++ b/cli/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/cli/test/provider/services/openvpn.json b/cli/test/provider/services/openvpn.json new file mode 100644 index 0000000..ffaa313 --- /dev/null +++ b/cli/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/cli/test/provider/services/webapp.json b/cli/test/provider/services/webapp.json new file mode 100644 index 0000000..1513d6f --- /dev/null +++ b/cli/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