diff options
author | elijah <elijah@riseup.net> | 2016-02-02 17:58:44 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-02-23 09:50:58 -0800 |
commit | 8eec2d89983934868c9be07d55825cbe3bdcdaaf (patch) | |
tree | e0c02a4d625828132f482a1838306e20a4a8494e /platform.rb | |
parent | da2c743faaccd26604c4c26fbb1557934688eb4a (diff) |
added templates for `leap node add`, so that new nodes can get default values set in their initial .json file.
Diffstat (limited to 'platform.rb')
-rw-r--r-- | platform.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform.rb b/platform.rb index 8433416e..323ba4ea 100644 --- a/platform.rb +++ b/platform.rb @@ -31,6 +31,7 @@ Leap::Platform.define do :files_dir => 'files', :nodes_dir => 'nodes', :services_dir => 'services', + :templates_dir => 'templates', :tags_dir => 'tags', :node_files_dir => 'files/nodes/#{arg}', @@ -41,6 +42,7 @@ Leap::Platform.define do :node_config => 'nodes/#{arg}.json', :service_config => 'services/#{arg}.json', :tag_config => 'tags/#{arg}.json', + :template_config => 'templates/#{arg}.json', # input config files, environmentally scoped :provider_env_config => 'provider.#{arg}.json', |