Puppet Version : 2.7.25
So I don't get it at all..
<snip>
err: Could not apply complete catalog: Found 1 dependency cycle:
(Exec[chown_logdir] => Class[Jetty] => User[evolve] => Exec[chown_logdir])
Cycle graph written to /var/lib/puppet/state/graphs/cycles.dot.
</snip>
<Cycle graph>
digraph Resource_Cycles {
label = "Resource Cycles"
"Exec[chown_logdir]" -> "Class[Jetty]" -> "File[/mnt/jetty-logs]" ->
"File[/opt/jetty/current/logs]" -> "Class[Jetty]"
"Exec[chown_logdir]" -> "Class[Jetty]" -> "User[evolve]" ->
"Exec[chown_logdir]"
</Cycle graph>
I get past some other crazy ignorant issues only to be faced with one that
I find even more miserable..
"err: Could not apply complete catalog: Found 1 dependency cycle:"
I have tried to break this down to make sense, but I can't make heads or
tails of it.. The worse part is that it worked fine with an earlier
version of puppet..
There are a couple of pieces of declarations that I think have something
to do with it..
<code>
exec {'remove_original_logs_dir':
command => 'rm -rf /opt/jetty/current/logs',
path => '/bin/',
require => File["$jetty_home/current"],
before => File['/opt/jetty/current/logs'],
}
file {'/opt/jetty/current/logs':
ensure => link,
target => '/mnt/jetty-logs',
require => File["$jetty_home/current"],
}
</code>
If I remove the second of these two, where it creates the synlink, this
error goes away. I do however need that symlink to exist..
Thanx in advance for any help...
J
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/54f70bf9-1d59-4476-8833-e398ebca0bca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.