Ticket #1134: lib_puppet_type_exec.patch
| File lib_puppet_type_exec.patch, 0.7 kB (added by mike, 9 months ago) |
|---|
-
a/lib/puppet/type/exec.rb
old new 384 384 385 385 Note that this command follows the same rules as the main command, 386 386 which is to say that it must be fully qualified if the path is not set. 387 388 Also note that onlyif can take an array as its value, eg: 389 onlyif => [\"test -f /tmp/file1\", \"test -f /tmp/file2\"] 390 391 This will only run the exec if /all/ conditions in the array return 392 true. 393 387 394 " 388 395 389 396 validate do |cmds|