-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do block until ready for cs_property flush #170
Conversation
we should really check only ONCE for all the flushes .... not one time per type |
@roidelapluie makes sense, thank you |
@roidelapluie from my limited knowledge, it's practically impossible… but the opsview t&p's suffer from a similar issue, making them restart opsview/nagios for every added configuration item… |
This issue is rooted pretty deeply iirc, and we're indeed not the only ones facing it. I don't think that there is currently a life-cycle hook with a semantics of "do this once all resources of type/with provider X are finished" or even "do this after all resources are synchronized". But this is the kind of situation where we would really like to have that. I'll do some digging when I get a chance. Would anyone ping me again? I just burned the github notification ;-) |
Ping @ffrank |
Thanks @roidelapluie. And guess what, I just found a thing: post_resource_eval could be just adequate. It is called by the transaction code, so this documentation is not necessarily outdated. I suggest giving that hook a shot. It's a public API, but please note that as of Puppet |
Folks, I lost a track of this discussion. What about the suggested change? The block until ready actually is not a resource consuming operation, AFAICT. And it "grants" your changes a safe commit window to make it into the CIB. Thus, it is better to have it than not |
I guess we could merge this and open an issue in order to move the In light of this, I also figure we could even neglect test code. Thoughts @igalic, @roidelapluie? |
👍 |
Do block until ready for cs_property flush
\o/ |
No description provided.