Re: [Puppet Users] How to apply condition such that jdk doesnt download if its already downloaded in the code given

2013-02-22 Thread James A. Peltier
We just download the RPMs and place them in a custom repository. That way we don't mess with the exec stuff or anything. Is there any reason you don't use the RPMs - Original Message - | Hi all, | Can u pls provide me the solution for this | class main { | $software =

[Puppet Users] How to apply condition such that jdk doesnt download if its already downloaded in the code given

2013-02-21 Thread yarlagadda ramya
Hi all, Can u pls provide me the solution for this class main { $software = /app/tcs/puppetdemo/software $server = /app/tcs/puppetdemo/server exec{download_jdk: command =/usr/bin/wget $URL, cwd =$software, } exec {untar_jdk: command = /bin/tar -C

Re: [Puppet Users] How to apply condition such that jdk doesnt download if its already downloaded in the code given

2013-02-21 Thread Johan De Wit
On 02/22/2013 07:42 AM, yarlagadda ramya wrote: Hi all, Can u pls provide me the solution for this class main { $software = /app/tcs/puppetdemo/software $server = /app/tcs/puppetdemo/server exec{download_jdk: command =/usr/bin/wget $URL, cwd =$software, } exec {untar_jdk: