[Puppet Users] Retrieving error messages from puppet agent using mco

2016-10-25 Thread rakshatha.shetty via Puppet Users
Hi, I have my puppet enterprise installed in RHEL & puppet agent is a windows server, I'm using mcollective to implement the push model. I need to retrieve the error messages from puppet agent in puppet server. Is there any way to accomplish it? -- You received this message because you are s

[Puppet Users] "Error: Could not request certificate: Error 500 on SERVER" after updating certificate

2016-10-25 Thread shlo . afgin
Hi, I need to renew the SSL certificate. I overwrite the old certificate files with the new files and restart the httpd. When I tried to run puppet from the agent I get: ... Error: Could not request certificate: Error 500 on SERVER ... Phusion Passenger Web application could no

Re: [Puppet Users] changing content of config file through puppet

2016-10-25 Thread Chadwick Banning
Hi Nidhi, I think Rob was referring to https://github.com/openstack/puppet-cinder/blob/master/manifests/backend/solidfire.pp. This appears to be what is changing the config using a custom cinder_config type. You can see the provider code that is updating the config at https://github.com/ope

Re: [Puppet Users] changing content of config file through puppet

2016-10-25 Thread Rob Nelson
Yes, that's what I meant! "ink" was an autocorrect mistake from my phone, no idea specifically what I was trying to convey before the phone mangled it, but we're on the right track now :) Rob Nelson rnels...@gmail.com On Tue, Oct 25, 2016 at 7:47 AM, Chadwick Banning wrote: > Hi Nidhi, > > I t

Re: [Puppet Users] "Error: Could not request certificate: Error 500 on SERVER" after updating certificate

2016-10-25 Thread Lowe Schmidt
What does your server logs say? And what Puppet version are you running? -- Lowe Schmidt | +46 723 867 157 On 25 October 2016 at 12:58, wrote: > > Hi, > I need to renew the SSL certificate. > > I overwrite the old certificate files with the new files and restart the > httpd. > > When I tried to

[Puppet Users] Prevent certificate collisions due to servers going up and down with same hostname

2016-10-25 Thread Iván del Castillo Zamora
Hi! We have a setup with a puppetmaster CA and several servers (AWS instances) which are spawned depending on the workload. On a daily basis from 50 to 100 instances can be spawned and shutdown (not at the same time), and what occurs is that a new server can have the IP and hostname . When a ne

[Puppet Users] Wierd spec error

2016-10-25 Thread Peter Berghold
For some odd reason I am seeing the following error when running spec Failure/Error: it { should contain_class('munin') } NoMethodError: undefined method `static_catalogs?' for # the manifest it is failing on is merely: class munin { } so this should pass must I'd think (real

[Puppet Users] Puppet agent fails to start on Ubuntu 16

2016-10-25 Thread Peter Berghold
Seeing some oddness trying to install/start Puppet agent on Ubuntu 16. Seeing this (by running "journalctl -xe"): -- Unit puppet.service has begun starting up. Oct 25 16:19:45 mtznjv1pdev01 puppet-agent[1879]: Could not autoload puppet/indirector/report/rest: uninitialized cons Oct 25 16:19:45 mt

[Puppet Users] Installing puppet on Ubuntu 16 & RSpec

2016-10-25 Thread Peter Berghold
What I thought were unrelated issues I've discovered they are related. I was using RSpec doing spec testing on Puppet code very happily when I decided to install the Puppet agent (attempting to eat my own dog food of course) and then RSpec broke. Error message spec started throwing out: NoM

Re: [Puppet Users] Role vs hiera

2016-10-25 Thread Ugo Bellavance
Hi, I was actually wondering if it could be done without an ENC as we don't have one for now. Thanks a lot for your input though. Ugo On Tuesday, October 18, 2016 at 3:50:37 PM UTC-4, Matt Zagrabelny wrote: > > On Tue, Oct 18, 2016 at 1:34 PM, Ugo Bellavance > wrote: > > Hi, > > > > I've s

Re: [Puppet Users] Role vs hiera

2016-10-25 Thread Matt Zagrabelny
On Tue, Oct 25, 2016 at 2:09 PM, Ugo Bellavance wrote: > Hi, > > I was actually wondering if it could be done without an ENC as we don't have > one for now. Not sure. I don't think so, though. I would work on getting an ENC set up. -m -- You received this message because you are subscribed to

Re: [Puppet Users] Role vs hiera

2016-10-25 Thread Rob Nelson
I believe you're asking if there's anything in between hiera classification and creating an ENC? For FOSS, the answer is no. If you purchase Puppet Enterprise, it has its own classifier which you can use as an ENC rather than generating your own. Rob Nelson rnels...@gmail.com On Tue, Oct 25, 201

Re: [Puppet Users] Installing puppet on Ubuntu 16 & RSpec

2016-10-25 Thread Rob Nelson
Could you share how your testing environment is set up? Most use bundler, so that the puppet agent installed on the system doesn't affect the tests, but it would appear that is not the case here. However, before commenting further, we need to see a bit more about the setup. I do not think the agen

Re: [Puppet Users] "Error: Could not request certificate: Error 500 on SERVER" after updating certificate

2016-10-25 Thread shlo . afgin
In the log: *Could not prepare for execution: The certificate retrieved from the master does not match the agent's private key.* *Certificate fingerprint: XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:...* *To fix this, remove the certificate from both the master and the agent and then