summaryrefslogtreecommitdiff
path: root/provider_base/lib/macros.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-06-20 15:42:51 -0700
committerelijah <elijah@riseup.net>2014-06-25 18:17:38 -0700
commitd3919f44368e3e9e60736fd90f31118f520747a8 (patch)
treef85c835ed9a9ec1477a70e5b45835cd6f3591fc5 /provider_base/lib/macros.rb
parentbc42e9bd3a86bb858ef853cf333242c81874209b (diff)
moved json macros to provider_base/lib/macros. requires new unreleased leap_cli
Diffstat (limited to 'provider_base/lib/macros.rb')
-rw-r--r--provider_base/lib/macros.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/provider_base/lib/macros.rb b/provider_base/lib/macros.rb
new file mode 100644
index 00000000..854b92b5
--- /dev/null
+++ b/provider_base/lib/macros.rb
@@ -0,0 +1,14 @@
+#
+# MACROS
+#
+# The methods in these files are available in the context of a .json configuration file.
+# (The module LeapCli::Macro is included in Config::Object)
+#
+
+require_relative 'macros/core'
+require_relative 'macros/files'
+require_relative 'macros/haproxy'
+require_relative 'macros/hosts'
+require_relative 'macros/nodes'
+require_relative 'macros/secrets'
+require_relative 'macros/stunnel'