aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-10 00:09:31 -0700
committerelijah <elijah@riseup.net>2012-10-10 00:09:31 -0700
commit47062a50e9bba238191838a6625b81793afa8472 (patch)
treeb4b9603f37ba79c522edcc7193cc8e360c36f442 /test
parent2a4dffe29da16dec1147a7f20715a1fa657368ac (diff)
downloadleap_cli-47062a50e9bba238191838a6625b81793afa8472.tar.gz
leap_cli-47062a50e9bba238191838a6625b81793afa8472.tar.bz2
hierarchical yaml output.
Diffstat (limited to 'test')
-rw-r--r--test/provider/common.json4
-rw-r--r--test/provider/files/public-definitions/provider.json.erb1
-rw-r--r--test/provider/hiera/couch1.yaml (renamed from test/provider/hiera/couch1.rewire.yaml)5
-rw-r--r--test/provider/hiera/couch2.yaml (renamed from test/provider/hiera/couch2.rewire.yaml)5
-rw-r--r--test/provider/hiera/ns1.rewire.yaml25
-rw-r--r--test/provider/hiera/ns1.yaml26
-rw-r--r--test/provider/hiera/ns2.rewire.yaml25
-rw-r--r--test/provider/hiera/ns2.yaml26
-rw-r--r--test/provider/hiera/vpn1.rewire.yaml158
-rw-r--r--test/provider/hiera/vpn1.yaml160
-rw-r--r--test/provider/hiera/web1.rewire.yaml16
-rw-r--r--test/provider/hiera/web1.yaml19
-rw-r--r--test/provider/nodes/vpn1.json3
-rw-r--r--test/provider/services/webapp.json5
14 files changed, 246 insertions, 232 deletions
diff --git a/test/provider/common.json b/test/provider/common.json
index ead9d68..e8f5519 100644
--- a/test/provider/common.json
+++ b/test/provider/common.json
@@ -1,11 +1,11 @@
#
# Options put here are inherited by all nodes.
-#
+# # "fqdn": "= name + '.' + (public_dns ? domain_public : domain_internal)"
{
"domain": {
"public": "rewire.co",
"internal": "rewire"
},
"public_dns": true,
- "fqdn": "= name + '.' + (public_dns ? domain_public : domain_internal)"
+ "fqdn": "= name + '.' + (public_dns ? domain['public'] : domain['internal'])"
}
diff --git a/test/provider/files/public-definitions/provider.json.erb b/test/provider/files/public-definitions/provider.json.erb
index e69de29..0b8eeb6 100644
--- a/test/provider/files/public-definitions/provider.json.erb
+++ b/test/provider/files/public-definitions/provider.json.erb
@@ -0,0 +1 @@
+todo: implement template support. \ No newline at end of file
diff --git a/test/provider/hiera/couch1.rewire.yaml b/test/provider/hiera/couch1.yaml
index 2c731ce..a954a14 100644
--- a/test/provider/hiera/couch1.rewire.yaml
+++ b/test/provider/hiera/couch1.yaml
@@ -1,6 +1,7 @@
---
-domain_internal: rewire
-domain_public: rewire.co
+domain:
+ internal: rewire
+ public: rewire.co
fqdn: couch1.rewire
ip_address: 245.2.45.42
name: couch1
diff --git a/test/provider/hiera/couch2.rewire.yaml b/test/provider/hiera/couch2.yaml
index a835c79..208e64c 100644
--- a/test/provider/hiera/couch2.rewire.yaml
+++ b/test/provider/hiera/couch2.yaml
@@ -1,6 +1,7 @@
---
-domain_internal: rewire
-domain_public: rewire.co
+domain:
+ internal: rewire
+ public: rewire.co
fqdn: couch2.rewire
ip_address: 73.45.87.11
name: couch2
diff --git a/test/provider/hiera/ns1.rewire.yaml b/test/provider/hiera/ns1.rewire.yaml
deleted file mode 100644
index 264dd52..0000000
--- a/test/provider/hiera/ns1.rewire.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
----
-domain_internal: rewire
-domain_public: rewire.co
-fqdn: ns1.rewire.co
-hosts_private:
-- ip_address: 245.2.45.42
- fqdn: couch1.rewire
-- ip_address: 73.45.87.11
- fqdn: couch2.rewire
-hosts_public:
-- ip_address: 1.1.1.1
- fqdn: ns1.rewire.co
-- ip_address: 1.1.1.2
- fqdn: ns2.rewire.co
-- ip_address: 2.2.2.2
- fqdn: vpn1.rewire.co
-- ip_address: 6.6.7.7
- fqdn: web1.rewire.co
- dns_alias: user.rewire.co
-ip_address: 1.1.1.1
-name: ns1
-production: true
-public_dns: true
-services: dns
-tags: production
diff --git a/test/provider/hiera/ns1.yaml b/test/provider/hiera/ns1.yaml
new file mode 100644
index 0000000..721e721
--- /dev/null
+++ b/test/provider/hiera/ns1.yaml
@@ -0,0 +1,26 @@
+---
+domain:
+ internal: rewire
+ public: rewire.co
+fqdn: ns1.rewire.co
+hosts:
+ private:
+ - fqdn: couch1.rewire
+ ip_address: 245.2.45.42
+ - fqdn: couch2.rewire
+ ip_address: 73.45.87.11
+ public:
+ - fqdn: ns1.rewire.co
+ ip_address: 1.1.1.1
+ - fqdn: ns2.rewire.co
+ ip_address: 1.1.1.2
+ - fqdn: vpn1.rewire.co
+ ip_address: 2.2.2.2
+ - fqdn: web1.rewire.co
+ ip_address: 6.6.7.7
+ip_address: 1.1.1.1
+name: ns1
+production: true
+public_dns: true
+services: dns
+tags: production
diff --git a/test/provider/hiera/ns2.rewire.yaml b/test/provider/hiera/ns2.rewire.yaml
deleted file mode 100644
index 2885424..0000000
--- a/test/provider/hiera/ns2.rewire.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
----
-domain_internal: rewire
-domain_public: rewire.co
-fqdn: ns2.rewire.co
-hosts_private:
-- ip_address: 245.2.45.42
- fqdn: couch1.rewire
-- ip_address: 73.45.87.11
- fqdn: couch2.rewire
-hosts_public:
-- ip_address: 1.1.1.1
- fqdn: ns1.rewire.co
-- ip_address: 1.1.1.2
- fqdn: ns2.rewire.co
-- ip_address: 2.2.2.2
- fqdn: vpn1.rewire.co
-- ip_address: 6.6.7.7
- fqdn: web1.rewire.co
- dns_alias: user.rewire.co
-ip_address: 1.1.1.2
-name: ns2
-production: true
-public_dns: true
-services: dns
-tags: production
diff --git a/test/provider/hiera/ns2.yaml b/test/provider/hiera/ns2.yaml
new file mode 100644
index 0000000..b64a238
--- /dev/null
+++ b/test/provider/hiera/ns2.yaml
@@ -0,0 +1,26 @@
+---
+domain:
+ internal: rewire
+ public: rewire.co
+fqdn: ns2.rewire.co
+hosts:
+ private:
+ - fqdn: couch1.rewire
+ ip_address: 245.2.45.42
+ - fqdn: couch2.rewire
+ ip_address: 73.45.87.11
+ public:
+ - fqdn: ns1.rewire.co
+ ip_address: 1.1.1.1
+ - fqdn: ns2.rewire.co
+ ip_address: 1.1.1.2
+ - fqdn: vpn1.rewire.co
+ ip_address: 2.2.2.2
+ - fqdn: web1.rewire.co
+ ip_address: 6.6.7.7
+ip_address: 1.1.1.2
+name: ns2
+production: true
+public_dns: true
+services: dns
+tags: production
diff --git a/test/provider/hiera/vpn1.rewire.yaml b/test/provider/hiera/vpn1.rewire.yaml
deleted file mode 100644
index 158bb1b..0000000
--- a/test/provider/hiera/vpn1.rewire.yaml
+++ /dev/null
@@ -1,158 +0,0 @@
----
-domain_internal: rewire
-domain_public: rewire.co
-fqdn: vpn1.rewire.co
-ip_address: 2.2.2.2
-name: vpn1
-openvpn_ca_crt: |
- -----BEGIN CERTIFICATE-----
- MIIECzCCAl2gAwIBAgIEUFDp9TANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU
- RVNUMB4XDTEyMDkxMjIwMDA1M1oXDTEzMDkxMjIwMDA1M1owDzENMAsGA1UEAxME
- VEVTVDCCAbgwDQYJKoZIhvcNAQEBBQADggGlADCCAaACggGXANsoS1m9wj9iv+UV
- BXfeq14SR94gSot96eJu7PZVRrcGlGe/PRfbmfxF3j/gXM9B8sIkyM2L46OMtOKw
- 1iOTKtYYdMhtnUSd3FRshWGtYeuy+OCe9umU0jfZDBZ2pXlUmSqCNqfD0OPkksYL
- GDjQUKjaEd1oURwpCG8uEU+3tjBNCMuEwhcMEoUYmI8t4vss2hdFb+LKefVMPTzz
- oiNM/o8Z/ANzWCC0qSW5FsB4wGhUS5HKLDOr4tACgdxaJSWtAqFFAnyMeG9g8aqe
- PTM+URlqVnzzGckrJwBbd4y0zEpv/R7SAiSAP725cnB1GKptwdrcNIIHnQjOdAOl
- uNg6JlRXrv6fV1gApka4INfJAf1yMf+fA0WdZ22UJQ9Up7tdzi8lL+3HsEpEx4Pz
- NyzuqzEw9LJ6SUmMcE/VP00t4RjTOVoncwcLjvURY8jt2DQ9E36JEPwUoyALq/De
- bGBjeK2KG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BiB+4UiSNnUcWtK792AbAfD2if98e40rU5zlbkUxnphytyDwueqcKPY
- HGoBRSng3IZyIZR/VCzOwWCpUyLw492D3cVZe1AgeRNhcATiHgIGMUT2zc21Jmh2
- XJn5wohQvUzvnpyll5xlZf6c2EtqMJ9kEwV1Xbwu16aXpXf11Y9iY38EXA==
- -----END RSA PRIVATE KEY-----
-
-openvpn_filter_dns: false
-openvpn_gateway_address: 3.3.3.3
-openvpn_nat: true
-openvpn_ports:
-- "80"
-- "443"
-- "53"
-- "1194"
-openvpn_server_crt: |
- -----BEGIN CERTIFICATE-----
- MIIEWjCCAqygAwIBAgIEUFDqXzANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU
- RVNUMB4XDTEyMDkxMjIwMDIzOVoXDTEzMDkxMjIwMDIzOVowKzEPMA0GA1UEChMG
- eHgub3JnMRgwFgYDVQQDEw9ob3N0bmFtZS54eC5vcmcwggG4MA0GCSqGSIb3DQEB
- AQUAA4IBpQAwggGgAoIBlwCvGqkXry509EWGAqbFUB5nqvsvA3kSIh0prgzaPYCg
- MMst58ZB89eTgiuM+U3jSF7LZr+CuE1DAb4m2U2f8D8IfViwK1yCa5AohG+LCmwe
- 4w4bgXtxwEBDac4u23JZ4AKE/EcKMeBbXe2d3o1S3P3XdN1ZVP0DVw04+H8cdh+0
- ggvhAA+9W/NvAQCAffL8sospj9nbl2OhRnrlFAzMWECyEyySPK5TEchU0hnFBRys
- DuYso5klLC6QXfSOkCSCOg9WQgjoyYBndTYxS3GwBnwyM+5V4TNtdc+P4vkkj+ZB
- D9R9oMpamUuuRQvk5/hJa7i8AaBy7ZmOO9QtL3866ONa6cLUN/QfBUkgM5iS6oQt
- X/qKxZFFYZPZUGBJqavuT+n4FB8XlIwcnqunK7rLD9OZwumYuZlHDtdAsgQ9Fd2z
- 06e7sDp28jcrk6gmpOapLqNPtPHVOGNA6mCZza4LonDMOSQKTfb6ZEXty+a8f2ig
- zErhHvmyCvREytDc9pIf2bL+Sz4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q4
- q+zX3/AzgDL6IQGQIsETaAmFCco4RMLFaDMyDx/OJR29df+ibqYvfSoUkcmK8OyF
- PWS0AobzJnqIaDpRCCvD/sL9PCkrUm33HoDBfxuvEsqZypNVmq+/3myWc9gIMOmZ
- fpWS+744tFnNO9RdmZ8OZel4+iv8CGZvQxk14S+lpaSCpX+Zmfyy5PfPRg==
- -----END RSA PRIVATE KEY-----
-
-production: true
-public_dns: true
-services: openvpn
-tags: production
diff --git a/test/provider/hiera/vpn1.yaml b/test/provider/hiera/vpn1.yaml
new file mode 100644
index 0000000..d21d4f6
--- /dev/null
+++ b/test/provider/hiera/vpn1.yaml
@@ -0,0 +1,160 @@
+---
+domain:
+ internal: rewire
+ public: rewire.co
+fqdn: vpn1.rewire.co
+ip_address: 2.2.2.2
+name: vpn1
+openvpn:
+ ca_crt: |
+ -----BEGIN CERTIFICATE-----
+ MIIECzCCAl2gAwIBAgIEUFDp9TANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU
+ RVNUMB4XDTEyMDkxMjIwMDA1M1oXDTEzMDkxMjIwMDA1M1owDzENMAsGA1UEAxME
+ VEVTVDCCAbgwDQYJKoZIhvcNAQEBBQADggGlADCCAaACggGXANsoS1m9wj9iv+UV
+ BXfeq14SR94gSot96eJu7PZVRrcGlGe/PRfbmfxF3j/gXM9B8sIkyM2L46OMtOKw
+ 1iOTKtYYdMhtnUSd3FRshWGtYeuy+OCe9umU0jfZDBZ2pXlUmSqCNqfD0OPkksYL
+ GDjQUKjaEd1oURwpCG8uEU+3tjBNCMuEwhcMEoUYmI8t4vss2hdFb+LKefVMPTzz
+ oiNM/o8Z/ANzWCC0qSW5FsB4wGhUS5HKLDOr4tACgdxaJSWtAqFFAnyMeG9g8aqe
+ PTM+URlqVnzzGckrJwBbd4y0zEpv/R7SAiSAP725cnB1GKptwdrcNIIHnQjOdAOl
+ uNg6JlRXrv6fV1gApka4INfJAf1yMf+fA0WdZ22UJQ9Up7tdzi8lL+3HsEpEx4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1Y4JAqxTtmIv8NMWCSKjZQKBzACtm7UzsHrKC3REfb5YM4oS
+ zI5SRWCj+umQrAX5XCjc7O4J0MECSW9pda3x+nei1Ay9EOpdBz+pggJ+ipDVa4qf
+ qfZ/NiAknBiB+4UiSNnUcWtK792AbAfD2if98e40rU5zlbkUxnphytyDwueqcKPY
+ HGoBRSng3IZyIZR/VCzOwWCpUyLw492D3cVZe1AgeRNhcATiHgIGMUT2zc21Jmh2
+ XJn5wohQvUzvnpyll5xlZf6c2EtqMJ9kEwV1Xbwu16aXpXf11Y9iY38EXA==
+ -----END RSA PRIVATE KEY-----
+
+ filter_dns: true
+ gateway_address: 3.3.3.3
+ nat: true
+ ports:
+ - "80"
+ - "443"
+ - "53"
+ - "1194"
+ server_crt: |
+ -----BEGIN CERTIFICATE-----
+ MIIEWjCCAqygAwIBAgIEUFDqXzANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU
+ RVNUMB4XDTEyMDkxMjIwMDIzOVoXDTEzMDkxMjIwMDIzOVowKzEPMA0GA1UEChMG
+ eHgub3JnMRgwFgYDVQQDEw9ob3N0bmFtZS54eC5vcmcwggG4MA0GCSqGSIb3DQEB
+ AQUAA4IBpQAwggGgAoIBlwCvGqkXry509EWGAqbFUB5nqvsvA3kSIh0prgzaPYCg
+ MMst58ZB89eTgiuM+U3jSF7LZr+CuE1DAb4m2U2f8D8IfViwK1yCa5AohG+LCmwe
+ 4w4bgXtxwEBDac4u23JZ4AKE/EcKMeBbXe2d3o1S3P3XdN1ZVP0DVw04+H8cdh+0
+ ggvhAA+9W/NvAQCAffL8sospj9nbl2OhRnrlFAzMWECyEyySPK5TEchU0hnFBRys
+ DuYso5klLC6QXfSOkCSCOg9WQgjoyYBndTYxS3GwBnwyM+5V4TNtdc+P4vkkj+ZB
+ D9R9oMpamUuuRQvk5/hJa7i8AaBy7ZmOO9QtL3866ONa6cLUN/QfBUkgM5iS6oQt
+ X/qKxZFFYZPZUGBJqavuT+n4FB8XlIwcn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DEJeOiFrloUzwmzndF9jbJqcvynaNgcCw5VKICsWIbrD
+ T8mnWiIJHJF+wv51fa3tEXd/TQrU9w+jYo/ioQKBzACluagmFiDwMcJFowdUYyya
+ WJtxEQHej5PfyHRijBZ/qzhvPxyF2Ae2D5L9RS+uHsJA0ZVJDQgzkvrSZ8IcS/Q4
+ q+zX3/AzgDL6IQGQIsETaAmFCco4RMLFaDMyDx/OJR29df+ibqYvfSoUkcmK8OyF
+ PWS0AobzJnqIaDpRCCvD/sL9PCkrUm33HoDBfxuvEsqZypNVmq+/3myWc9gIMOmZ
+ fpWS+744tFnNO9RdmZ8OZel4+iv8CGZvQxk14S+lpaSCpX+Zmfyy5PfPRg==
+ -----END RSA PRIVATE KEY-----
+
+production: true
+public_dns: true
+services: openvpn
+tags: production
diff --git a/test/provider/hiera/web1.rewire.yaml b/test/provider/hiera/web1.rewire.yaml
deleted file mode 100644
index 6fc76d9..0000000
--- a/test/provider/hiera/web1.rewire.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
----
-dns_alias: user.rewire.co
-domain_internal: rewire
-domain_public: rewire.co
-fqdn: web1.rewire.co
-ip_address: 6.6.7.7
-name: web1
-public_dns: true
-services: webapp
-webapp_couchdb_hosts:
-- couch1.rewire
-- couch2.rewire
-webapp_modules:
-- user
-- billing
-- help
diff --git a/test/provider/hiera/web1.yaml b/test/provider/hiera/web1.yaml
new file mode 100644
index 0000000..88c75d5
--- /dev/null
+++ b/test/provider/hiera/web1.yaml
@@ -0,0 +1,19 @@
+---
+definition_files:
+ provider: <%= {:hi => 'yes'}.to_json %>
+domain:
+ internal: rewire
+ public: rewire.co
+fqdn: web1.rewire.co
+ip_address: 6.6.7.7
+name: web1
+public_dns: true
+services: webapp
+webapp:
+ couchdb_hosts:
+ - couch1.rewire
+ - couch2.rewire
+ modules:
+ - user
+ - billing
+ - help
diff --git a/test/provider/nodes/vpn1.json b/test/provider/nodes/vpn1.json
index 10859ac..1c58a1b 100644
--- a/test/provider/nodes/vpn1.json
+++ b/test/provider/nodes/vpn1.json
@@ -3,6 +3,7 @@
"ip_address": "2.2.2.2",
"tags": "production",
"openvpn": {
- "gateway_address": "3.3.3.3"
+ "gateway_address": "3.3.3.3",
+ "filter_dns": true
}
} \ No newline at end of file
diff --git a/test/provider/services/webapp.json b/test/provider/services/webapp.json
index 1513d6f..5a045b2 100644
--- a/test/provider/services/webapp.json
+++ b/test/provider/services/webapp.json
@@ -1,7 +1,10 @@
+# "dns_alias": "= 'user.' + domain_public",
{
- "dns_alias": "= 'user.' + domain_public",
"webapp": {
"modules": ["user", "billing", "help"],
"couchdb_hosts": "= nodes[:services => :couchdb].field(:fqdn)"
+ },
+ "definition_files": {
+ "provider": "= file('public-definitions/provider.json.erb')"
}
} \ No newline at end of file