diff options
author | elijah <elijah@riseup.net> | 2013-03-08 23:07:13 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-03-08 23:07:13 -0800 |
commit | 402bb92da08b0c0a46be643963a87576e558b589 (patch) | |
tree | fc56b8b6c54cd95c86843ce4d41798b701b850ca /provider_base | |
parent | 77c8025aebe3a7b83fc128be6e0abe511f9f0888 (diff) |
node environment: switch from production=true to environment=production. requires latest leap_cli
Diffstat (limited to 'provider_base')
-rw-r--r-- | provider_base/common.json | 3 | ||||
-rw-r--r-- | provider_base/services/ca.json | 2 | ||||
-rw-r--r-- | provider_base/tags/development.json | 3 | ||||
-rw-r--r-- | provider_base/tags/local.json | 2 | ||||
-rw-r--r-- | provider_base/tags/production.json | 2 |
5 files changed, 7 insertions, 5 deletions
diff --git a/provider_base/common.json b/provider_base/common.json index e674edb6..dc59b88e 100644 --- a/provider_base/common.json +++ b/provider_base/common.json @@ -1,5 +1,6 @@ { "ip_address": null, + "environment": null, "services": [], "tags": [], "domain": { @@ -24,8 +25,6 @@ "key": "= x509.use ? file(:node_x509_key, :missing => 'x509 key for node $node. Run `leap cert update`') : nil", "ca_cert": "= try_file :ca_cert" }, - "local": false, - "production": false, "service_type": "internal_service", "development": { "site_config": true diff --git a/provider_base/services/ca.json b/provider_base/services/ca.json index 3fb8bf6c..64866ddc 100644 --- a/provider_base/services/ca.json +++ b/provider_base/services/ca.json @@ -1,6 +1,6 @@ { "ca_daemon": { - "couchdb_hosts": "= hostnames nodes[:services => :couchdb][:local => local]", + "couchdb_hosts": "= hostnames nodes_like_me[:services => :couchdb]", "couchdb_user": "= global.services[:couchdb].couch.users[:ca_daemon]" }, "service_type": "internal_service", diff --git a/provider_base/tags/development.json b/provider_base/tags/development.json new file mode 100644 index 00000000..caf18e9d --- /dev/null +++ b/provider_base/tags/development.json @@ -0,0 +1,3 @@ +{ + "environment": "development" +}
\ No newline at end of file diff --git a/provider_base/tags/local.json b/provider_base/tags/local.json index 9cb16602..48312b33 100644 --- a/provider_base/tags/local.json +++ b/provider_base/tags/local.json @@ -1,3 +1,3 @@ { - "local": true + "environment": "local" }
\ No newline at end of file diff --git a/provider_base/tags/production.json b/provider_base/tags/production.json index b35c0650..ea17498f 100644 --- a/provider_base/tags/production.json +++ b/provider_base/tags/production.json @@ -1,3 +1,3 @@ { - "production": true + "environment": "production" }
\ No newline at end of file |