Ask Your Question
1

Problem with virtual resources being evaluated in the run stage they are defined in, not the run stage they are realized in

asked 2014-02-13 07:24:16 -0500

onitlikesonic gravatar image

Alike this post: https://groups.google.com/forum/#!topic/puppet-users/OqYSoab4ImY

"I have found on puppet 2.7 that virtual resources are evaluated in the run stage they are defined in, not the run stage they are realized in"

So i have a module on stage "Pre-1" (before main) that declares a virtual resource from a module that is realized in stage "Main"... puppet gives me dependency cycles...

Can these dependency cycles be avoided somehow? I thought puppet would only realize things when it is told to do so (on main stage) and not at each stage

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-13 08:05:14 -0500

onitlikesonic gravatar image

I have filed a bug for updating the documentation to reflect this limitation, aparently this can't be done using stages... https://tickets.puppetlabs.com/browse/DOCUMENT-30

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-02-13 07:24:16 -0500

Seen: 32 times

Last updated: Feb 13 '14