Re: [Puppet Users] Re: Puppet on Windows: Avoid download msi files if they aren't going to be installed

2012-05-29 Thread tiochan
That worked, thanks a lot. El viernes, 25 de mayo de 2012 16:49:30 UTC+2, Jeff McCune escribió: > > On Fri, May 25, 2012 at 5:43 AM, jcbollinger wrote: > >> >> On May 25, 3:58 am, tiochan wrote: >> >> This stanza: >> >> > file { 'C:\\

[Puppet Users] Re: Puppet on Windows: Avoid download msi files if they aren't going to be installed

2012-05-28 Thread tiochan
; > On May 25, 3:58 am, tiochan wrote: > > This stanza: > > > file { 'C:\\SOFTWARE\\7z920.msi': > > source => 'puppet://puppet.upc.edu/modules/windows/7z920.msi', > > } > > tells Puppet that there is supposed to be a f

Re: [Puppet Users] Puppet on Windows: Avoid download msi files if they aren't going to be installed

2012-05-25 Thread tiochan
Jeff, thank for your reply. Really puppet downloads the file only once, this is not in fact a problem. I re-made the previous code to simplify it: class 7Zip() { include software_dir file { 'C:\\SOFTWARE\\7z920.msi': source => 'puppet://puppet.upc.edu/modules/windows/7z920.ms

[Puppet Users] Puppet on Windows: Avoid download msi files if they aren't going to be installed

2012-05-24 Thread tiochan
Hi all! I'm new on puppet, and I making my firsts classes. I have defined an example class to install 7Zip on Windows servers, it runs right, but I would like to improve it. The problem is that each time that I execute the "puppet agent --test" it downloads the 7zip.msi file, although it is rea