Skip to content
Ryota Arai edited this page Mar 17, 2015 · 17 revisions

Actions

  • run
  • nothing

Attributes

Name Value Default Required
action one of Symbol, Array :run Yes
user String (no default) No
command String (name of resource) No
cwd String (no default) No

Example

execute "create an empty file" do
  command "touch /path/to/file"
  not_if "test -e /path/to/file"
end