search for: fileresourc

Displaying 2 results from an estimated 2 matches for "fileresourc".

Did you mean: fileresources
2011 Nov 28
11
Is it possible to conditionally replace a file ?
As far as I can tell, the "replace" parameter is all or nothing. What I am looking for is something like the exec/onlyif parameter that I can use to conditionally replace a file. Any thoughts ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- You received this
2008 Oct 08
10
The puppet equivalent of mkdir -p
Hi all, I''d like to add a several directories and I can''t seem to do it with a single "file" directive. Say /home/jeff exists and I want to add /home/jeff/src/my/dir/path I tried: file { "/home/jeff/src/my/dir/path": path => "/home/jeff/src/my/dir/path", mode => 0755, owner => jeff, group => jeff, ensure =>