Re: [Puppet Users] Question Windows manifests

2013-02-20 Thread Rakesh Kathpal
Dear Felix, Thanks a ton for your reply and great piece of information. I will do the needful on my side. Thanks again, Regards, Rakesh K. On Wed, Feb 20, 2013 at 3:41 PM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > Hi, > > On 02/20/2013 06:43 AM, Rakesh Kathpal wrote: > >

Re: [Puppet Users] Question Windows manifests

2013-02-20 Thread Felix Frank
Hi, On 02/20/2013 06:43 AM, Rakesh Kathpal wrote: > file { 'install': > path => "c:\install.bat", ... > exec {'install_sw': > file { 'remove': > ensure => absent, ... > I am quite sure that there is something > syntactically wrong my code but donno what? Can some

Re: [Puppet Users] Question Windows manifests

2013-02-19 Thread Rakesh Kathpal
} >> >> ** ** >> >> Cheers, >> >> Bernd >> >> *From:* puppet-users@googlegroups.com [mailto: >> puppet-users@googlegroups.com] *On Behalf Of *Rakesh Kathpal >> *Sent:* Dienstag, 19. Februar 2013 15:22 >> *To:* pupp

Re: [Puppet Users] Question Windows manifests

2013-02-19 Thread Rakesh Kathpal
:\install.bat’, > > require => Exec[‘install’], > } > > ** ** > > Cheers, > > Bernd > > *From:* puppet-users@googlegroups.com [mailto: > puppet-users@googlegroups.com] *On Behalf Of *Rakesh Kathpal > *Sent:* Dienstag, 19. Februar 2013

RE: [Puppet Users] Question Windows manifests

2013-02-19 Thread Bernd Adamowicz
athpal Sent: Dienstag, 19. Februar 2013 15:22 To: puppet-users@googlegroups.com Subject: [Puppet Users] Question Windows manifests Hi, I am creating a file resouce which is bat file, and I am running the file to perform some operation. I need to know how do I delete the file after the operation

[Puppet Users] Question Windows manifests

2013-02-19 Thread Rakesh Kathpal
Hi, I am creating a file resouce which is bat file, and I am running the file to perform some operation. I need to know how do I delete the file after the operation is performed... the code I tried is as follows class rk{ file { "c:\install.bat": ensure => present, cont