Hi, I'd like to be able to deploy a skeleton directory through puppet, i.e. puppet deploys it only if it does not exist.
I tried this : file {"/path/to/this/directory": source => "puppet:///files/path/to/the/skeleton", ensure => directory, recurse => true, owner => auser, group => agroup } But I have 2 problems for the moment : - if I don't set owner/group, it takes uid/gid on the puppetmaster, which does not exist on the node ; if I do set these options, the directory is scanned each time and all files are chown'ed to this user/group, which is absolutely not desired behaviour in my case (puppet should not change ownership for files it doesn't manage in my case...) - I'd like puppet to let user change some files in the skeleton as they want, i.e. skip this directory if it just exists Do you have an idea about how I could do that ? Thanks, -- Jean-Baptiste -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.