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 = "/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 /app/tcs/puppetdemo/server/ -zxf
| /app/tcs/puppetdemo/software/jdk1.6.0_24.tar.gz",
| cwd => "$server",
| }
| Exec['download_jdk'] -> Exec['untar_jdk']
| }
| --
| You received this message because you are subscribed to the Google
| Groups "Puppet Users" group.
| To unsubscribe from this group and stop receiving emails from it,
| send an email to [email protected].
| To post to this group, send email to [email protected].
| Visit this group at http://groups.google.com/group/puppet-users?hl=en
| .
| For more options, visit https://groups.google.com/groups/opt_out .
--
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : [email protected]
Website : http://www.sfu.ca/itservices
“A successful person is one who can lay a solid foundation from the bricks
others have thrown at them.” -David Brinkley via Luke Shaw
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.