Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-15 Thread ge...@riseup.net
Hi James, On 14-10-13 19:58:02, James Eckersall wrote: I had issues when I was first using this module with the primitives. After fixing the issue with cs_property, I'm now running into the same problem like you. Despite cs_primitive being defined in puppet, it doesn't get created. Did you

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-15 Thread james . eckersall
Hi, In the cs_primitive provider, I added debug code to write the updated var to a file in /tmp. I then tried applying that with crm update as the provider does. Crm was returning errors to me that the provider wasn't. I was able to use that to determine that I didn't have all the params set

[Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-13 Thread james . eckersall
Try running the agent with --debug and --evaltrace to identify what Puppet is doing in relation to those resources. -- 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

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-13 Thread ge...@riseup.net
Hi James, On 14-10-13 01:27:05, james.eckers...@fasthosts.com wrote: Try running the agent with --debug and --evaltrace to identify what Puppet is doing in relation to those resources. Thanks for your help. The log shows multiple lines like: Mon Oct 13 13:40:11 +0200 2014

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-13 Thread james . eckersall
Hi, Since you aren't getting any errors, it would suggest to me that puppet thinks those values are already set correctly and therefore require no further action. The module essentially parses the output from crm configure show xml, so I'd check what is being returned in that output for those

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-13 Thread ge...@riseup.net
Hi, On 14-10-13 05:58:06, james.eckers...@fasthosts.com wrote: Since you aren't getting any errors, it would suggest to me that puppet thinks those values are already set correctly and therefore require no further action. The module essentially parses the output from crm configure show xml,

Re: [Puppet Users] Re: puppetlabs-corosync: cs_property doesn't get set

2014-10-13 Thread James Eckersall
Hi Georg, I had issues when I was first using this module with the primitives. I ended up adding some debug code to the provider to try and work out what was going on. I'm sure there are better ways of doing it, but I used File.write to shove log messages into a file on the client in strategic