We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3ffd8a commit 308d4ddCopy full SHA for 308d4dd
lib/puppet/type/exec.rb
@@ -436,6 +436,14 @@ def check(value)
436
back by re-extracting the tarball. If `important.tar` does **not**
437
actually contain `myfile`, the exec will keep running every time
438
Puppet runs.
439
+
440
+ This parameter can also take an array of files and the command will
441
+ not run if **any** of these files exist. For example:
442
443
+ creates => ['/tmp/file1', '/tmp/file2'],
444
445
+ will only run the command if both files don't exist.
446
447
EOT
448
449
accept_arrays
0 commit comments