veronic 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/config/config.rb +1 -1
- data/lib/providers/chefserver/instance.rb +0 -1
- data/veronic.gemspec +1 -1
- metadata +1 -1
data/lib/config/config.rb
CHANGED
@@ -31,7 +31,7 @@ module Veronic
|
|
31
31
|
@ssh_port = options[:ssh_port] || config_from_file['ssh_port'] || 22
|
32
32
|
@role = options[:role] || config_from_file['role']
|
33
33
|
@flavor = options[:flavor] || config_from_file['flavor'] || 'm1.medium'
|
34
|
-
@security_groups =
|
34
|
+
@security_groups = options[:security_groups].split(',') || config_from_file['security_groups'].split(',')
|
35
35
|
@deploy_cmd = options[:deploy_cmd] || config_from_file['deploy_cmd'] || 'sudo chef-client'
|
36
36
|
@name = (options[:branch] || config_from_file['branch']) ? (options[:branch] || config_from_file['branch']) : (options[:name] || config_from_file['name'])
|
37
37
|
@image = options[:ami_image] || config_from_file['ami_image']
|
@@ -69,7 +69,6 @@ module Provider
|
|
69
69
|
puts "Creation of #{@name} failed"
|
70
70
|
puts "Message: " + e.inspect
|
71
71
|
puts "Stacktrace:#{e.backtrace.map {|l| " #{l}\n"}.join}"
|
72
|
-
ensure
|
73
72
|
self.destroy([node.server.id]) if node.server
|
74
73
|
if recursive_count < 10
|
75
74
|
puts "Creation of #{@name} retrying #{recursive_count}"
|
data/veronic.gemspec
CHANGED