FAQ
Hi,
On 03/05/2013 01:02 PM, Jithin Xavier wrote:

exec { 'ActiveMQExe':
command => "/bin/tar xzf
/gx/mnt/software/ESB/apache-activemq-5.5.1-bin.tar.gz",
cwd => "/gx/mnt/software/ESB/",
require => [wget::fetch["activemqDownload"]],
The most simple obvious approach would be to add a parameter
creates => "/gx/mnt/software/ESB/<tree>"
to this create.

Always use creates (or onlyif/unless) in execs.

HTH,
Felix

--
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 puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMar 5, '13 at 12:02p
activeMar 6, '13 at 2:09p
posts2
users2
websitepuppetlabs.com

2 users in discussion

Jithin Xavier: 1 post Felix Frank: 1 post

People

Translate

site design / logo © 2022 Grokbase