Skip to content

execute resource

Ryota Arai edited this page Dec 15, 2015 · 15 revisions

Actions

  • run
  • nothing

Attributes

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

Example

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

Do not edit this page because this is generated automatically with Itamae v1.9.0

You can’t perform that action at this time.