Re: [Puppet Users] Re: Simple class help

2011-03-30 Thread Felix Frank
On 03/30/2011 05:05 PM, tigreton wrote: > So if i use content, and the file doesn't exist, the puppetmaster > *will* create it? Yes. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroup

[Puppet Users] Re: Simple class help

2011-03-30 Thread tigreton
So if i use content, and the file doesn't exist, the puppetmaster *will* create it? On 29 mar, 15:31, Felix Frank wrote: > Hi, > > On 03/29/2011 03:27 PM, tigreton wrote: > > > Thanks for your time Felix. I'm not clear hehe. > > So if i want to create a file and i musn't use content nor source, >

Re: [Puppet Users] Re: Simple class help

2011-03-29 Thread Felix Frank
Hi, On 03/29/2011 03:27 PM, tigreton wrote: > Thanks for your time Felix. I'm not clear hehe. > So if i want to create a file and i musn't use content nor source, > what i must use? Thanks. if you want puppet to make sure the file exists, but not care about its content, use file { "/tmp/foo":

[Puppet Users] Re: Simple class help

2011-03-29 Thread tigreton
Thanks for your time Felix. I'm not clear hehe. So if i want to create a file and i musn't use content nor source, what i must use? Thanks. On 28 mar, 17:14, Felix Frank wrote: > On 03/28/2011 05:04 PM, tigreton wrote: > > > Ahm okok. I want to create a file. So i will use content. Thanks > >> yo

Re: [Puppet Users] Re: Simple class help

2011-03-28 Thread Felix Frank
On 03/28/2011 05:04 PM, tigreton wrote: > Ahm okok. I want to create a file. So i will use content. Thanks >> you've been given confusing information. Reviewing my response, I should have elaborated a bit myself. If you specify content, be aware that puppet will overwrite whatever you put into th

[Puppet Users] Re: Simple class help

2011-03-28 Thread tigreton
Ahm okok. I want to create a file. So i will use content. Thanks On 28 mar, 09:10, Felix Frank wrote: > Hi, > > On 03/25/2011 11:46 AM, tigreton wrote: > > > > > > > > > > > I have this in my /manifests/site.pp > > Do i need to send you more files? I don't think so... > > class sudo { > > file {