[Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread pdurkin
I've been looking around but can't seem to find an answer to this. I would like to create a file whose initial contents come from the default in the puppet server but is subsequently modifiable and puppet won't overwrite any changes. The reason for this is that if I deploy a user account via pu

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread pdurkin
wrote: > > Hi, > > The best way to do that is to modify the system skeleton files and > make sure useradd is using them. > They get put in user homedirs when the account gets created. > > On 9 October 2012 15:19, pdurkin > wrote: > > I've been looking arou

[Puppet Users] Re: Creation of modifiable files via puppet

2012-10-09 Thread pdurkin
Thanks for all the help, the two solutions + using them both together will solve all the situations I'm considering. Paul On Tuesday, October 9, 2012 9:19:20 AM UTC+4, pdurkin wrote: > > I've been looking around but can't seem to find an answer to this. > > I would

Re: [Puppet Users] Bug when using array in file resource?

2012-11-04 Thread pdurkin
I'm not convinced that Justin wasn't correct about this being a bug. I'm having a similar issue class myclass (...) { # some extra stuff here $file_list = [ 'a', 'b' ..., 'n' ] file { $file_list : ensure => 'file', source => "puppet://modules/myclass/$title", path

Re: [Puppet Users] Bug when using array in file resource?

2012-11-05 Thread pdurkin
Thanks John, I'll inline my responses Paul On Monday, November 5, 2012 6:26:55 PM UTC+4, jcbollinger wrote: > > > > On Monday, November 5, 2012 12:37:45 AM UTC-6, pdurkin wrote: >> >> I'm not convinced that Justin wasn't correct about this being