ec2launcher 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.19
2
+
3
+ * Fixed typo in launch command.
4
+
1
5
  ## 1.0.18
2
6
 
3
7
  * Additional command subsitution variables for ruby, gem, chef-client and knife executables.
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2012 Sean Laurent
3
3
  #
4
4
  module EC2Launcher
5
- VERSION = "1.0.18"
5
+ VERSION = "1.0.19"
6
6
  end
data/lib/ec2launcher.rb CHANGED
@@ -842,7 +842,7 @@ module EC2Launcher
842
842
 
843
843
  # Add extra requested commands to the launch sequence
844
844
  unless @options.commands.nil?
845
- commands = @environment.commands.collect {|cmd| substitute_command_variables(cmd) }
845
+ commands = @options.commands.collect {|cmd| substitute_command_variables(cmd) }
846
846
  user_data += "\n" + commands.join("\n")
847
847
  end
848
848
  @options.commands.each {|extra_cmd| user_data += "\n#{extra_cmd}" }
@@ -855,4 +855,4 @@ module EC2Launcher
855
855
  user_data
856
856
  end
857
857
  end
858
- end
858
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: