diff options
author | elijah <elijah@riseup.net> | 2014-05-20 23:34:55 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-05-20 23:34:55 -0700 |
commit | 0755757cd57679a946631411163eb61010215cb5 (patch) | |
tree | 72659668aef5be957078023300f422b97e4b1b1d | |
parent | 3919bf8ebb78c07c6c3e067ab2f87f933df8c126 (diff) |
added support for environmentally scoped services and tags, when using latest leap_cli.
-rw-r--r-- | platform.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/platform.rb b/platform.rb index 07fa80a1..d36cb3af 100644 --- a/platform.rb +++ b/platform.rb @@ -4,7 +4,7 @@ # Leap::Platform.define do - self.version = "0.5.1" + self.version = "0.5.2" self.compatible_cli = "1.5.0".."1.99" # @@ -27,12 +27,16 @@ Leap::Platform.define do # input config files :common_config => 'common.json', :provider_config => 'provider.json', - :provider_env_config => 'provider.#{arg}.json', :secrets_config => 'secrets.json', :node_config => 'nodes/#{arg}.json', :service_config => 'services/#{arg}.json', :tag_config => 'tags/#{arg}.json', + # input config files, environmentally scoped + :provider_env_config => 'provider.#{arg}.json', + :service_env_config => 'services/#{arg[0]}.#{arg[1]}.json', + :tag_env_config => 'tags/#{arg[0]}.#{arg[1]}.json', + # input templates :provider_json_template => 'files/service-definitions/provider.json.erb', :eip_service_json_template => 'files/service-definitions/#{arg}/eip-service.json.erb', |