[Puppet Users] Certificates when upgrading from Community to Enterprise

2015-07-10 Thread John Kennedy
We are about to move from the community edition of Puppet to enterprise. Can I just copy the ssl directory to /etc/puppetlabs or will I need to recertify all the nodes? Thanks, John John Kennedy (_8(|) I have a yellow dog: http://www.theyellowdogproject.com/The_Yellow_Dog_Project/About.html

Re: [Puppet Users] Question about Puppet Master Configuration

2014-09-30 Thread John Kennedy
Does the directory /var/run/puppet exist and is that directory writable? Go to it and try the command 'touch test' as root. John John Kennedy (_8(|) I have a yellow dog: http://www.theyellowdogproject.com/The_Yellow_Dog_Project/About.html Anatidaephobia is the fear that somehow, s

Re: [Puppet Users] mysqld: unrecognized service

2014-09-03 Thread John Kennedy
appears to be working as expected John Kennedy (_8(|) I have a yellow dog: http://www.theyellowdogproject.com/The_Yellow_Dog_Project/About.html Why would anyone foster a dog/cat? I would rather cry watching them leave our home to live a life of happiness and joy in a loving home than cry because

Re: [Puppet Users] puppet dead but pid file exists

2014-09-02 Thread John Kennedy
How are you stopping Puppetmaster? If you are not gracefully shutting puppetmaster down then the PID file will not be deleted. John Kennedy (_8(|) I have a yellow dog: http://www.theyellowdogproject.com/The_Yellow_Dog_Project/About.html Why would anyone foster a dog/cat? I would rather cry

Re: [Puppet Users] puppet agent --test errors

2014-07-04 Thread John Kennedy
First thing off the top of my head is that puppet.conf on the client does not define which server is the master. What happens if you try: puppet agent --test --server puppetmaster.puppet John John Kennedy (_8(|) I have a yellow dog: http://www.theyellowdogproject.com/The_Yellow_Dog_Project

Re: [Puppet Users] Technical Reviewers Needed

2012-11-26 Thread John Kennedy
PS - I just finished reviewing the Nagio Core Cookbook. John John Kennedy Government - Never underestimate the power of stupid people in large groups. The Dunning-Kruger effect occurs when incompetent people not only fail to realize their incompetence, but consider themselves much more

Re: [Puppet Users] Technical Reviewers Needed

2012-11-26 Thread John Kennedy
I would be interested in this. Looks like a good project. John John Kennedy Government - Never underestimate the power of stupid people in large groups. The Dunning-Kruger effect occurs when incompetent people not only fail to realize their incompetence, but consider themselves much more

Re: [Puppet Users] Puppet logging

2012-05-05 Thread John Kennedy
onfig report = true reports = log server = puppet.example.com debug = true verbose = true logdest = /var/log/puppet/puppet.log Thanks, John John Kennedy On Fri, May 4, 2012 at 11:00 PM, Michael Baydoun wrote: > Can you post your full puppet.conf? Redact anything s

Re: [Puppet Users] Puppet logging

2012-05-04 Thread John Kennedy
Nope... Thanks, John John Kennedy On Fri, May 4, 2012 at 8:08 PM, Michael Baydoun wrote: > Is your daemon started with a different --logdest=/path/file specified? > > On Fri, May 4, 2012 at 7:45 AM, John Kennedy wrote: > >> >> On Thu, May 3, 2012 at 8:07 AM, Bernd Ada

Re: [Puppet Users] Puppet logging

2012-05-04 Thread John Kennedy
On Thu, May 3, 2012 at 8:07 AM, Bernd Adamowicz wrote: > You should try > > ** ** > > debug = true > > verbose = true > > ** ** > > in your agent and/or master configurations. Some more hints on monitoring > and on Nagios/Icinga checks are found here:

[Puppet Users] Puppet logging

2012-05-02 Thread John Kennedy
much better. Where can I search for errors? Thanks, John John Kennedy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email

Re: [Puppet Users] Using fact to determine node environment

2012-05-02 Thread John Kennedy
On Wed, May 2, 2012 at 11:10 AM, Nigel Kersten wrote: > > > On Wed, May 2, 2012 at 4:19 AM, R.I.Pienaar wrote: > >> >> >> - Original Message - >> > From: "John Kennedy" >> > To: puppet-users@googlegroups.com >> > S

[Puppet Users] Using fact to determine node environment

2012-05-02 Thread John Kennedy
, John John Kennedy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For mo

[Puppet Users] "Migrating" current installation to use environments

2012-04-24 Thread John Kennedy
/site.pp Finally, copy the current modules/manifests in to /etc/puppet/production and restart puppetmaster This is a high level task list, I am just making sure that I am not missing anything important at this point... Thanks, John John Kennedy -- You received this message because you are

Re: [Puppet Users] Change location of puppet config files

2012-04-18 Thread John Kennedy
On Wed, Apr 18, 2012 at 22:33, Jax01 wrote: > Hi everyone; > > I am trying to change the location of where the ssl cert files are > stored. I have changed this in the puppet.conf file but, when I start > the puppetmaster, the only certs being created are still in /etc/ > puppet. Can someone tel

Re: [Puppet Users] Re: Customizing a hostname facts

2012-04-08 Thread John Kennedy
fact around that. You then put your rb file in with all the other fact rb files and puppet will find it. John John Kennedy On Sat, Apr 7, 2012 at 11:17, Mukul Malhotra wrote: > > Hi, > > Actually I want that nobody in my network can change the hostname as some > has already chang

Re: [Puppet Users] Re: escaping the "@" symbol

2012-04-02 Thread John Kennedy
On Mon, Apr 2, 2012 at 16:10, jcbollinger wrote: > > > On Apr 2, 5:07 am, bruce bushby wrote: > > Hi > > > > I've been writing a little module to handle some grub settings on RHEL > > 6 and appear the have run into a silly little problem that I just > > can't fix. > > > > I've trying to append t

Re: [Puppet Users] Simple newbie question

2012-04-02 Thread John Kennedy
On Sat, Mar 31, 2012 at 00:06, Jim Garrison wrote: > Trying to set up a simple master/agent configuration on two VMware VMs. I > startup the master and then try to start the agent, in waitforcert mode to > submit its cert request. After receving the request on the master and > signing it, I get

[Puppet Users] puppetd not checking in

2012-03-28 Thread John Kennedy
implied here or should I check else where? Thanks, John John Kennedy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to pu

Re: [Puppet Users] Re: Removing lines from a file

2012-03-23 Thread John Kennedy
On Fri, Mar 23, 2012 at 11:10, Paul Tötterman wrote: > Hi John > > >> I can see where 'file_line' will add a line but I don't know enough ruby >> to know, will it remove a line that does exist? >> > > 'ensurable' sounds like it can manage both 'ensure => present' and 'ensure > => absent'. And sure

Re: [Puppet Users] Re: Removing lines from a file

2012-03-23 Thread John Kennedy
On Thu, Mar 22, 2012 at 23:48, Gary Larizza wrote: > > On Thursday, March 22, 2012 at 6:23 AM, John Kennedy wrote: > > > On Thu, Mar 22, 2012 at 13:02, jcbollinger wrote: > > > > - NOTE: I am adding and removing the #includedir line for testing... > > > >

Re: [Puppet Users] Re: Removing lines from a file

2012-03-22 Thread John Kennedy
On Thu, Mar 22, 2012 at 13:02, jcbollinger wrote: > > > - NOTE: I am adding and removing the #includedir line for testing... > > > > What needs to be changed to get this to work? > > > Have you considered using sed instead of perl? It's lighter-weight > and very good at this sort of thing. > > Pe

Re: [Puppet Users] Removing lines from a file

2012-03-21 Thread John Kennedy
On Wed, Mar 21, 2012 at 12:02, Craig Dunn wrote: > On 21/03/2012 11:48, John Kennedy wrote: > > Hello all, > I am fairly new to Puppet but learning. > I know what I want to do can be done I just can not get things to go > right... > > We want to start using the capab

[Puppet Users] Removing lines from a file

2012-03-21 Thread John Kennedy
/etc/sudoers.d\E$/' '/etc/sudoers']/returns: change from notrun to 0 failed: /usr/bin/perl -ni -e 'print unless /^\Q#includedir /etc/sudoers.d\E$/' '/etc/sudoers' returned 255 instead of one of [0] at /etc/puppetlabs/puppet/modules/sudo/manifests/init.pp:12 - NOTE:

Re: [Puppet Users] using puppet to configure local settings

2012-03-15 Thread John Kennedy
serve the 2 different files in their entirety then edit them on the puppet master as the requirements change. Sorry I can not give details (yet) but hopefully this will give you a place to start. John Kennedy On Thu, Mar 15, 2012 at 08:06, Sharuzzaman Ahmat Raslan < sharuzza...@gmail.com>

Re: [Puppet Users] Puppet in a bash script

2011-11-14 Thread John Kennedy
On Fri, Nov 11, 2011 at 18:40, Harish Agarwal wrote: > Hello, > > I'm using puppet via a bash script when I spin up a machine to configure > it. I'd like to restart the instance after puppet's run is complete. In > my bash script I have: > > puppet agent --test > shutdown -r now > > > Puppet ru

Re: [Puppet Users] Puppet node network configuration

2011-11-14 Thread John Kennedy
On Mon, Nov 14, 2011 at 08:52, Will S. G. wrote: > Hello everyone, > > I'm fairly new to the DevOps realm, and while I've written my fair > share of bash loops and such, I figured it was time to learn something > new. That being said, I've been working on automating the kickstart > process (no co

Re: [Puppet Users] Requiring a package to satisfy a provider requirement

2011-09-19 Thread John Kennedy
On Mon, Sep 19, 2011 at 15:18, Matt wrote: > Hi there, > > I'm not sure the subject is entirely clear, so I'll do my best to > explain it here. > > I'm trying to use the larstobi-puppet-glassfish module to configure > Oracle Glassfish. I have the following for a domain: > > 1 class glassfish::te

[Puppet Users] puppet kick getting hostname not match with the server certificate

2011-09-14 Thread John Kennedy
happening. Any help would be appreciated. Thanks, John John Kennedy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to p

Re: [Puppet Users] Re: Puppet not pushing file

2011-09-13 Thread John Kennedy
On Tue, Sep 13, 2011 at 12:52, Bernd Adamowicz wrote: > > > Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] > Im Auftrag von John Kennedy > Gesendet: Dienstag, 13. September 2011 13:43 > An: puppet-users@googlegroups.com > Betreff: Re: [Puppet

Re: [Puppet Users] Re: Puppet not pushing file

2011-09-13 Thread John Kennedy
On Tue, Sep 13, 2011 at 12:27, Bernd Adamowicz wrote: > Try this: > > ** ** > > node client { > > file { "/home/admin/puppet/jck.txt": > owner => admin, > group => admin, > mode => 0744, > source => puppet:///test/jck.txt,

[Puppet Users] Re: Puppet not pushing file

2011-09-13 Thread John Kennedy
Sorry, forgot to include the puppet command output...: # puppet agent --test --verbose info: Caching catalog for client info: Applying configuration version '1315910859' notice: Finished catalog run in 0.02 seconds John Kennedy On Tue, Sep 13, 2011 at 12:13, John Kennedy wrote:

[Puppet Users] Puppet not pushing file

2011-09-13 Thread John Kennedy
ite.pp: import nodes/* >From /etc/puppet/manifests/nodes/client.pp node client { file { "/home/admin/puppet/jck.txt" owner => admin group => admin mode => 0744 source => puppet:///test/jck.txt } John

Re: [Puppet Users] Certificate problems

2011-06-02 Thread John Kennedy
Replies inline On Wed, Jun 1, 2011 at 17:55, Patrick wrote: > > On Jun 1, 2011, at 8:05 AM, John Kennedy wrote: > > I have several servers being hosted on Amazon Web Services. They have all > been build from the same manifest so apart from the hostnames, IP, etc they >

[Puppet Users] Certificate problems

2011-06-01 Thread John Kennedy
(puppetca -c host.example.com) with the same results on all 3 boxes. I know it is not my laptop's fault but I am about to throw it out the window... Please save the poor thing and give me a hint as to what else I can do... Thanks, John -- John Kennedy -- You received this message because yo

Re: [Puppet Users] Removing links

2011-06-01 Thread John Kennedy
On Tue, May 31, 2011 at 18:36, Nick Lewis wrote: > On Tuesday, May 31, 2011 at 2:58 AM, John Kennedy wrote: > > I have a group of web servers being load balanced. I have 4 types of > servers all build from the same image. > When I build the image I forgot to clear out one of the

[Puppet Users] Removing links

2011-05-31 Thread John Kennedy
link but have had little success. I have tried the following: file { "/opt/nginx/sites-enabled/ absent } This will remove a file if it is there but not this link. What am I missing? I have googled to get the above which I thought would remove the link. Thanks, John -- John Kennedy --

[Puppet Users] File serving with Puppet

2011-04-27 Thread John Kennedy
re host is the FQDN of the client. Where does this little snippet need to go on the client? Does it get a section in puppet.conf? Do I need a fileserver.conf file on the client with this in it? Any help would be appreciated. -- John Kennedy -- You received this message because you are su