lib/simple_perf/cli/stop.rb in simple_perf-0.0.2 vs lib/simple_perf/cli/stop.rb in simple_perf-0.0.3
- old
+ new
@@ -22,11 +22,11 @@
Trollop::die :environment, "is required but not specified" unless opts[:environment]
Trollop::die :name, "is required but not specified" unless opts[:name]
config = Config.new.environment opts[:environment]
- ENV['SIMPLE_DEPLOY_SSH_KEY'] = config['key']
+ ENV['SIMPLE_DEPLOY_SSH_KEY'] = config['local_pem']
ENV['SIMPLE_DEPLOY_SSH_USER'] = config['user']
command = 'simple_deploy execute' +
' -e ' + opts[:environment] +
' -n ' + opts[:name] +
@@ -35,6 +35,6 @@
Shared::pretty_print `#{command}`
end
end
end
-end
\ No newline at end of file
+end