lib/itamae/resource/execute.rb in itamae-1.0.0.beta41 vs lib/itamae/resource/execute.rb in itamae-1.0.0.beta42
- old
+ new
@@ -5,10 +5,10 @@
class Execute < Base
define_attribute :action, default: :run
define_attribute :command, type: String, default_name: true
def action_run(options)
- run_command(command)
+ run_command(attributes.command)
updated!
end
end
end
end