Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Marco Parra D.
Hi Josh On 16-04-2012 15:24, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 10:45 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi Kelsey, thank you, Are these the only list of facts?, What makes this list?, I don't think we have a "facts supported by platform" so

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Josh Cooper
Hi Marco, On Mon, Apr 16, 2012 at 10:45 AM, Marco Parra D. wrote: > Hi Kelsey, > thank you, Are these the only list of facts?, What makes this list?, > I don't think we have a "facts supported by platform" sort of document. Windows does support basic facts, e.g. hostname, domain, etc. This is

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Marco Parra D.
Hi Kelsey, thank you, Are these the only list of facts?, What makes this list?, It's possible add more facts to windows? Thank you Regards.! On 16-04-2012 14:33, Kelsey Hightower wrote: On Mon, Apr 16, 2012 at 1:30 PM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi Josh,

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Kelsey Hightower
On Mon, Apr 16, 2012 at 1:30 PM, Marco Parra D. wrote: > Hi Josh, > Where can I find the complete fact's list to use on windows?... > > thank you in advance! > > Regards.. > You should be able to run Facter directly on the system in question. > > On 16-04-2012 12:55, Josh Cooper wrote: > > Hi

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Marco Parra D.
Hi Josh, Where can I find the complete fact's list to use on windows?... thank you in advance! Regards.. On 16-04-2012 12:55, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi guys, I trying to modify a file on Windo

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Marco Parra D.
Hi Josh On 16-04-2012 12:55, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi guys, I trying to modify a file on Windows using puppet, I got a template file like this: [default] host = SOmeNAme [W

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Marco Parra D.
On 16-04-2012 12:55, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi guys, I trying to modify a file on Windows using puppet, I got a template file like this: [default] host = SOmeNAme [WinEventLog:S

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Josh Cooper
Hi Marco, On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. wrote: > Hi guys, I trying to modify a file on Windows using puppet, I got a > template file like this: > [default] > host = SOmeNAme > > [WinEventLog:Security] > disabled = 1 > > is copied using puppet to the windows machine as C:\Progra

[Puppet Users] How to modify a file content?

2012-04-16 Thread Marco Parra D.
Hi guys, I trying to modify a file on Windows using puppet, I got a template file like this: [default] host = SOmeNAme [WinEventLog:Security] disabled = 1 is copied using puppet to the windows machine as C:\Program Files\Soft1\inputs.conf And I need to replace the host line with the real na