-
Notifications
You must be signed in to change notification settings - Fork 793
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
Add Anchor pattern to client.pp #343
Conversation
The class mysql::client::install is "contained" in the mysql::client to avoid floating.
I'm confused what this is supposed to do. Usually, when you anchor, you have more than one thing to order. Can you explain this? |
According to this http://docs.puppetlabs.com/puppet/2.7/reference/lang_containment.html#known-issues |
Okay, thanks for clarifying, now if you could clarify that in your code, that would reduce the need for stupid questions from me ;) |
anchor { 'mysql::client::start': } | ||
anchor { 'mysql::client::end': } | ||
|
||
Anchor['mysql::client::start'] -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add
Class['mysql::client'] ->
here.
Add a step to the anchor pattern and add comment to clarify the need of this workaround. Ref : http://docs.puppetlabs.com/puppet/2.7/reference/lang_containment.html#known-issues
Add Anchor pattern to client.pp
I cannot wait for the anchor fix to be finally done. :) |
The class mysql::client::install should be "contained" in the mysql::client to avoid floating, like it's the case for mysql::server.