Permalink
Browse files

Snake-case ec2 attribtues so we can use them in puppet!

  • Loading branch information...
1 parent d11c4b6 commit 6ed73ee313d86d6ed8867dc77e9a72c25c4850b5 @loe committed Aug 21, 2009
Showing with 4 additions and 4 deletions.
  1. +1 −1 VERSION
  2. +2 −2 iclassify-interface.gemspec
  3. +1 −1 recipes/02_ec2.rb
View
@@ -1 +1 @@
-1.0.15
+1.1.0
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = %q{iclassify-interface}
- s.version = "1.0.15"
+ s.version = "1.1.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Adam Jacob", "W. Andrew Loe III"]
- s.date = %q{2009-08-13}
+ s.date = %q{2009-08-21}
s.email = %q{andrew@andrewloe.com}
s.executables = ["icagent", "icpuppet", "icsearch", "icwatcher"]
s.extra_rdoc_files = [
View
@@ -39,6 +39,6 @@ def get_keys(key = '')
replace_attrib("ec2", "true")
get_keys.each do |key|
- replace_attrib("ec2-#{key.gsub('/', '-')}", get_from_ec2("#{key}"))
+ replace_attrib("ec2_#{key.gsub(/-|\//, '_')}", get_from_ec2("#{key}"))
end
end

0 comments on commit 6ed73ee

Please sign in to comment.