lib/fulmar/domain/service/helper/common_helper.rb in fulmar-1.6.4 vs lib/fulmar/domain/service/helper/common_helper.rb in fulmar-1.7.0

- old
+ new

@@ -58,9 +58,13 @@ shell.strict = true shell.debug = configuration[:debug] shell end + def ssh_config + storage['ssh_config'] ||= Fulmar::Infrastructure::Service::SSHConfigService.new configuration + end + def storage fail 'You need to set an environment and a target first' unless configuration.ready? @storage ||= {} @storage[configuration.environment] ||= {} @storage[configuration.environment][configuration.target] ||= {}