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 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 = [options[:security_groups]] || [config_from_file['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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'veronic'
3
- s.version = '0.0.19'
3
+ s.version = '0.0.20'
4
4
  s.date = '2013-04-05'
5
5
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
6
6
  s.summary = "Veronic, a simple cloud deployer"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veronic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: