lib/poolparty/resources/exec.rb in auser-poolparty-1.3.4 vs lib/poolparty/resources/exec.rb in auser-poolparty-1.3.5
- old
+ new
@@ -41,11 +41,11 @@
def print_to_chef
str = 'execute "<%= name %>" do
command <%= print_variable(command || name) %>
path <%= print_variable(path) %>
- action :<%= action ? action : (exists ? :run : :nothing) %>
+ action <%= print_variable(action ? action : (exists ? :run : :nothing)) %>
'
str << " creates <%= print_variable(creates) %>\n" if creates
str << " cwd <%= print_variable(cwd) %>\n" if cwd
str << " environment <%= print_variable(environment) %>\n" if environment
str << " group <%= print_variable(group) %>\n" if group
@@ -56,6 +56,6 @@
end
end
end
-end
\ No newline at end of file
+end