Displaying 2 results from an estimated 2 matches for "metachecks".
2008 Jan 10
10
Install Package only if a certain file exists.
So I can''t quite see how to do this in the existing syntax.
Ideally there would be an onlyif parameter for packages, but that doesn''t
seem to be the case.
I could create a fact that returns true or false depending on whether the
file exists, but that doesn''t feel like the right way to do it either.
I could do something like:
$file_exists =
2006 Aug 05
2
PATCH: provide replace parameter for sourced files
Following patch for pfile.rb and pfile/source.rb allows the user to
set a replace => false parameter on a file sourced by puppet, but not
replaced if checksums do not match. This is for cases in which it is
desired to distribute initial "bootstrap" files and ensure future
existence, yet allow them to be modified on the node.
RTS
--- pfile.rb~ Wed Aug 2 04:47:05 2006
+++ pfile.rb