-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Cannot apply a cs_location to a group of resources #396
Comments
That error message means that crm expects another syntax for location that imply groups. Can you please add the location by hand : do a crm configure show and paste the crm configure show output for that location? Thanks |
Hi, Thanks for the response. Here is where I add four location constraints in by hand, using the
Here is the portion of the
If I use the puppet module as is, and I have to select primitives rather than groups for the location constraints, I seem to have to double this to 8 constraints, because each group has two member resources. |
This should work. Can you add require => Cs_group['ns1_vips'], |
Thanks very much. I can confirm that it works with that resource ordering pattern in place. |
No problem. Actually I will take some action of this. |
cs_location works with cs_group (at last with crm). It should the autorequire it. Fix voxpupuli#396 Signed-off-by: Julien Pivotto <[email protected]>
cs_location works with cs_group (at last with crm). It should the autorequire it. Fix voxpupuli#396 Signed-off-by: Julien Pivotto <[email protected]>
Good stuff. Is it worth adding a note about the cs_group type to the README as well, while you're at it? I had to dig into the code to check that I could use it. |
The readme should move away and be replaced by puppet-strings |
I'm unable to apply a cs_location type to a group of resources. Am I missing something, or has it not yet been implemented?
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
I'm trying to apply a
cs_location
type to a previously createdcs_group
but it doesn't work.I have tried using the following puppet code:
and
I have had to resort to configuring a cs_location type for each member of the group, or creating the location constraints outside of puppet.
What are you seeing
These are the error messages displayed by my puppet client
What behaviour did you expect instead
I would have expected to be able to apply a
cs_location
type to a group of resources.The text was updated successfully, but these errors were encountered: