Exec
Ensure a command is run on the instances
Usage
1 has_exec(:name => '...') do
2
3
4 end
Options
nameThe name of your exec. This is optional, but nice for debugging purposes
cwdCurrent working directory to execute the command (optional)
commandThis describes the command to run
pathThe path to run the command with (optional)
Examples
1 has_exec(:name => 'start messenger', :command => 'server-start-node', :requires => get_gempackage('poolparty-latest', :onlyif => 'ps aux | grep beam | grep master')