On 04/28/2014 08:24 AM, Lito K wrote:
> I was wondering if someone can give me a hint how to solve this
> dependency cycle issue.

Every resource is synced and/or refreshed at a set time during catalog
evaluation. You cannot have multiple refreshes of the same resource.

Therefor, the usual workaround is to model either action via exec
instead of the proper service resource, e.g.

1. war-file deployment
2. exec tomcat-start
3. config-file management
4. service refresh

By the way, are you certain that the war-file will be completely
extracted when the tomcat start routine hands the control back? I would
assume the such things go on in the background, and that puppet would
race with tomcat. If so, the config-file may in fact not yet be in place
when the file resource is getting synced.

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53678034.4030002%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to