How to do a file/dir exists conditional in Puppet?
Workaround for this: use onlyif on an exec "test" and require it in your action you want to execute:
exec {"check_presence":
command => '/bin/true',
onlyif => '/usr/bin/test -e /path/must/be/available',
}
whatever {"foo...":
.....
require => Exec["check_presence"],
}