summaryrefslogtreecommitdiff
path: root/provider_base/templates
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-02 17:58:44 -0800
committerelijah <elijah@riseup.net>2016-02-23 09:50:58 -0800
commit8eec2d89983934868c9be07d55825cbe3bdcdaaf (patch)
treee0c02a4d625828132f482a1838306e20a4a8494e /provider_base/templates
parentda2c743faaccd26604c4c26fbb1557934688eb4a (diff)
added templates for `leap node add`, so that new nodes can get default values set in their initial .json file.
Diffstat (limited to 'provider_base/templates')
-rw-r--r--provider_base/templates/common.json3
-rw-r--r--provider_base/templates/couchdb.json5
-rw-r--r--provider_base/templates/openvpn.json7
3 files changed, 15 insertions, 0 deletions
diff --git a/provider_base/templates/common.json b/provider_base/templates/common.json
new file mode 100644
index 00000000..a7675b15
--- /dev/null
+++ b/provider_base/templates/common.json
@@ -0,0 +1,3 @@
+{
+ "ip_address": "REQUIRED"
+} \ No newline at end of file
diff --git a/provider_base/templates/couchdb.json b/provider_base/templates/couchdb.json
new file mode 100644
index 00000000..34b60915
--- /dev/null
+++ b/provider_base/templates/couchdb.json
@@ -0,0 +1,5 @@
+{
+ "couch": {
+ "mode": "plain"
+ }
+}
diff --git a/provider_base/templates/openvpn.json b/provider_base/templates/openvpn.json
new file mode 100644
index 00000000..cbe183e8
--- /dev/null
+++ b/provider_base/templates/openvpn.json
@@ -0,0 +1,7 @@
+{
+ "openvpn": {
+ "gateway_address": "REQUIRED",
+ "ports": ["443"],
+ "protocols": ["tcp"]
+ }
+}