lib/poolparty/resources/gem_package.rb in auser-poolparty-1.3.4 vs lib/poolparty/resources/gem_package.rb in auser-poolparty-1.3.5
- old
+ new
@@ -38,11 +38,11 @@
)
def print_to_chef
str = <<-EOE
gem_package "<%= name %>" do
- action :<%= (action ? action : (exists ? :install : :remove)) %>
+ action <%= print_variable(action ? action : (exists ? :install : :remove)) %>
EOE
str << " options <%= print_variable(options) %>\n" if options
str << " version <%= print_variable(version) %>\n" if version
str << " source <%= print_variable(source) %>\n" if source
str << " response_file <%= print_variable(response_file) %>\n" if response_file
@@ -50,6 +50,6 @@
end
end
end
-end
\ No newline at end of file
+end