summaryrefslogtreecommitdiff
path: root/provider_base
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-24 21:35:40 -0800
committerelijah <elijah@riseup.net>2012-11-24 21:35:40 -0800
commitbe2300a01a7744986d6ea76b44c663df619aae03 (patch)
tree79d42e20f056baa5e05aa561a6131b59bbd8bd4f /provider_base
parentd70b723f17a6ff7d22a044fe57f1e8438eef5ae7 (diff)
new leap_cli sets local tag automatically.
Diffstat (limited to 'provider_base')
-rw-r--r--provider_base/common.json4
-rw-r--r--provider_base/tags/local.json3
2 files changed, 5 insertions, 2 deletions
diff --git a/provider_base/common.json b/provider_base/common.json
index 0eeef6e5..12b9dab6 100644
--- a/provider_base/common.json
+++ b/provider_base/common.json
@@ -1,6 +1,7 @@
{
"ip_address": "REQUIRED",
"services": [],
+ "tags": [],
"domain": {
"full_suffix": "= global.provider.domain",
"internal_suffix": "= global.provider.internal_domain",
@@ -21,6 +22,5 @@
"cert": "= x509.use ? file(:node_x509_cert, :missing => 'x509 certificate for node $node. Run `leap update-cert`') : nil",
"key": "= x509.use ? file(:node_x509_key, :missing => 'x509 key for node $node. Run `leap update-cert`') : nil",
"ca_cert": "= try_file :ca_cert"
- },
- "local": "= self.vagrant?"
+ }
}
diff --git a/provider_base/tags/local.json b/provider_base/tags/local.json
new file mode 100644
index 00000000..9cb16602
--- /dev/null
+++ b/provider_base/tags/local.json
@@ -0,0 +1,3 @@
+{
+ "local": true
+} \ No newline at end of file