[Puppet Users] rspec-puppet and tags

2012-07-10 Thread John Leach
ing at just creating some node fixtures now and doing the tagging from within the node manifest itself, but this means I'm testing defines (or classes) in node specs - doesn't feel right. Any thoughts? Thanks, John. -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] newish puppet on RHEL4 and/or SLES9?

2012-08-15 Thread John Warburton
ups.google.com/forum/?fromgroups#!topic/puppet-users/PeZ3ffCnW6I[1-25]) ago of me giving instructions to get ruby/puppet running on VMWare ESX 3.5 which was derived from RHEL 3. Shoud work for RHEL 4 You may be struggling to find a fully functional puppet tool chain for an older RHEL - some work may

Re: [Puppet Users] thoughts on puppet 2.7 vs 3.0

2012-08-29 Thread John Warburton
ionality (puppet DB) Seeing how 2.7 wasn't suitable *for me* until 2.7.10 due to some specific bugs, I think you should move to 2.7 unless you have a simple setup and prepared to wait for 3 John -- You received this message because you are subscribed to the Google Groups "Puppet Use

[Puppet Users] Autosign frequency

2012-08-29 Thread John Warburton
ig entries: PassengerHighPerformance on PassengerMaxPoolSize 15 PassengerPoolIdleTime 300 PassengerUseGlobalQueue on PassengerStatThrottleRate 120 RackAutoDetect Off RailsAutoDetect Off Is there any way I can speed up things so that puppet signs the request immediately? Thanks John -- You received this messa

Re: [Puppet Users] Autosign frequency

2012-08-29 Thread John Warburton
uppet-master[25783]: [ID 702911 daemon.notice] Signed certificate request for blkasec001.domain.com Thanks for taking a look John -- 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@googleg

Re: [Puppet Users] Create a variable variable

2012-10-15 Thread John Warburton
able-variables/ I've used the method described John -- 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+u

Re: [Puppet Users] Re: Variables and autoloading

2012-10-15 Thread John Warburton
On 16 October 2012 01:03, jcbollinger wrote: > In fact, in a reprise of my "voice crying in the wilderness" routine, I > will urge you to avoid writing new parametrized classes for any > I hear you -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

Re: [Puppet Users] Have Class Only Perform Actions When There Is Work To Do (i.e. Making Them Idempotent)

2012-10-29 Thread John Warburton
On 30 October 2012 01:59, jcbollinger wrote: > On Friday, October 26, 2012 1:50:53 PM UTC-5, Dave Mankoff wrote: >> >> [...] I wanted to avoid package management systems only because they are >> way more complicated than a basic install of python requires: > There is a bit of a learning curve for

[Puppet Users] Config Sync

2012-11-07 Thread John Macleod
numerous posts to suggest Puppet for this, but no real world examples of how to do it. Thanks in advance! John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pu

[Puppet Users] Re: puppet dashboard

2012-11-16 Thread John Dixon
> If you are using the inventory service or the ENC it might get a little > complicated but from what I have seen it shouldn't be too bad. > > Just as a disclaimer, I only run with one master, so I could be rather off > base here. > > >> Cheers, >> Oli >> > > We use one dashboard and have 3

[Puppet Users] Please document reports:prune Task Leaves Orphaned Data in Dashboard Documentation

2012-11-18 Thread John Warburton
dashboard ( http://docs.puppetlabs.com/dashboard/manual/1.2/maintaining.html) Can you please save others my experience and update the open source page? I've created https://projects.puppetlabs.com/issues/17712 for this request Thanks John -- You received this message because you are subscribed t

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] 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] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-11-28 Thread John Lamb
I am also seeing this bug on one of my nodes (worryingly, the puppet master itself!) The relevant output of puppet agent -t --debug --trace --verbose matches what Fabrice and Lee have also reported: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined f

[Puppet Users] Fix Documentation link on wiki

2008-09-26 Thread John Philips
Hi, I noticed the Documentation link in the page header is broken on all trac instances. Please fix this, it will save a few clicks. http://reductivelabs.com/trac/puppet The doc link for the main puppet instance should point here: http://reductivelabs.com/trac/puppet/wiki/DocumentationStart

[Puppet Users] Re: Fix Documentation link on wiki

2008-09-26 Thread John Philips
t;[EMAIL PROTECTED]> > Subject: [Puppet Users] Re: Fix Documentation link on wiki > To: puppet-users@googlegroups.com > Date: Friday, September 26, 2008, 5:25 PM > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John Philips wrote: > > Hi, I noticed the Documenta

[Puppet Users] Puppet Client Isolated from Network

2008-12-10 Thread John Florian
I am reviewing puppet for suitability on a project that I'm working on. In many regards, it looks perfect and I'm very pleased with the overall feel thus far. For a proof-of-concept example, I've created a manifest that ensures that the ntp package is installed on the client, that it has the cor

[Puppet Users] Re: How to make puppet continue when disconnected from network?

2008-12-12 Thread John Florian
last successful run. Any ideas how I might achieve this? On Dec 8, 2:14 pm, John Florian wrote: > I am reviewing puppet for suitability on a project that I'm working > on.  In many regards, it looks perfect and I'm very pleased with the > overall feel thus far.  For a proof-

[Puppet Users] Re: How to make puppet continue when disconnected from network?

2008-12-12 Thread John Florian
Funny. I was nearly about to give up hope and then that very thought occurred to me a bit after posting my last message. When I had initially read the docs, I kind of got the impression that was meant more for debugging only. As it turns out, it looks to be absolutely perfect for the task. I h

[Puppet Users] support for upstart

2008-12-17 Thread John Florian
I'm playing around with puppet 0.24.6 on Fedora 10. It appears that the service type doesn't support the new upstart way of doing things ... only the old sysvinit way. Has anyone seen any effort towards providing support or simply some decent work arounds? --~--~-~--~~~--

[Puppet Users] Re: support for upstart

2008-12-17 Thread John Florian
> What do you need to work around?  Isn't Upstart, from a userspace > perspective, completely backwards compatible with SysV init? > > Can you cite your specific issues? Yes and no; or at least that's my understanding. From what I've seen it can be used in such a way that it appears to be sysvin

[Puppet Users] Re: support for upstart

2008-12-18 Thread John Florian
On Dec 17, 5:18 pm, James Turnbull wrote: > An upstart provider for the service type should be fine.  It should be > relatively easy to develop.  If you don't want to develop yourself can > you please log a feature request and I'll knock something up. > > Cheers > > James > > -- > Author of: >

[Puppet Users] Re: select node to use from the client side?

2008-12-22 Thread John Ferlito
rts puppet That way the puppetmaster knows which server it's supposed to be. Hope that helps. Cheers, -- John Bloghttp://www.inodes.org/blog OLPC Friends http://olpcfriends.org --~--~-~--~~~---~--~~ You received

[Puppet Users] Offtopic: package inventory tracking

2008-12-31 Thread John Philips
Hey guys, Recently I had to update the nagios-plugins package on our systems to deal with the upcoming leap second. Of course this was a piece of cake with puppet! It led to some ideas popping into my head... It would be cool if I could find out which systems still had the old version install

[Puppet Users] Get list of all nodes

2009-01-06 Thread John Philips
Hi, Is there a way to export a list of all manually-defined nodes in a puppet configuration? I need to use this list in a script. Previously it was easy because I had each node individually defined in nodes.pp ala node 'blah1.com' { include stuff } node 'blah2.com' { include stuff }

[Puppet Users] Re: Get list of all nodes

2009-01-06 Thread John Philips
e Renfro > Subject: [Puppet Users] Re: Get list of all nodes > To: puppet-users@googlegroups.com > Date: Tuesday, January 6, 2009, 8:40 AM > On 1/6/2009 10:09 AM, John Philips wrote: > > > Is there a way to export a list of all > manually-defined nodes in a > > pu

[Puppet Users] Re: Get list of all nodes

2009-01-06 Thread John Philips
> Use LDAP. > > I couldn't resist. :-P Har har. > With the example below, this should give you what you want: > > grep ^node site.pp | sed -e 's/^node //' | awk -F, > '{for(i=1;i<=NF;i++) {print $i}}' Thanks, that did the trick. Well, almost. The hostnames are in quotation marks so I pipe

[Puppet Users] Re: Setting timezone in ubuntu and timezone conventions

2009-03-14 Thread John Ferlito
r as picking which time zone it depends on where all your team is. For myself all our admins are in Sydney/Australia so we set everything to that timezone. If you are larger and have admins in multiple timezones then UTC is probably best. Ch

[Puppet Users] Package type regression?

2009-04-28 Thread John Florian
I'm seeing a undesirable change in behaviour of puppet on Fedora 10 that came about with the upgrade from 0.24.6 to 0.24.8. I have been working on a wrapper package for puppet (non-daemon) that allows it to operate reliably even when the network isn't so reliable. Each client maintains (via rsyn

[Puppet Users] Re: Cron presence based on file content

2009-05-01 Thread John Florian
Pete, The only thing affected by onlyif here is the /bin/echo command itself. You can even see this in your logged output. On May 1, 1:56 pm, Pete Emerson wrote: > I'm trying to get a cron entry to exist based on the contents of a file. > > I tried this: > >     exec { "check-cron": >        

[Puppet Users] Assign variable with content of a file?

2009-05-01 Thread John Florian
Anyone know of how I can do in puppet the equivalent of this from the land of shell scripting? foo=$(cat /tmp/bar) or if you prefer foo=`cat /tmp/bar` --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: Assign variable with content of a file?

2009-05-04 Thread John Florian
On May 1, 7:28 pm, James Turnbull wrote: > On the master you can use the generate function to populate a variable > value. That looks promising. However, in this particular situation, I cannot use the regular puppetmasterd/puppetd arrangement. I must use the stand-alone puppet instead. Will

[Puppet Users] Re: Cron presence based on file content

2009-05-04 Thread John Florian
On May 2, 10:29 am, Pete Emerson wrote: > Ah I see a new thread, "Assign variable with content of a file?" that lines > up with my needs, I'll check out the suggestions there. Yeah, it's mine! I found yours when I was looking for my own solution -- it sounds like we're both trying to achieve s

[Puppet Users] Re: Assign variable with content of a file?

2009-05-04 Thread John Florian
On May 1, 5:59 pm, Brandon Evans wrote: > no-can-do.  What exactly are you trying to get done? Apologies for leaving that out -- I'd hoped to not muddy the water with the details, but now it seems I must. I want to install a home-built package whose application runs on a virtual console exclus

[Puppet Users] Conditionally install a file resource

2009-05-04 Thread John Florian
I keep finding that I wish onlyif was a meta-parameter; right now I want it on the file resource type. I need to install a file, but only if the source exists. It's a really simple file resource that works great when the source exists, but fails when it doesn't. I don't care if it fails, but I

[Puppet Users] Documentation for Ruby's %x{foo}

2009-05-20 Thread John Florian
I'm trying to fix a bug in facter so that I can submit a patch and all, but I'm in need of some good documentation of this code construct. Unfortunately, every search engine I know of strips out such symbols. I've deduced that it calls an external command and captures stdout, but need more detai

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-11-29 Thread John Lamb
are deprecated." We normally don't have any deprecated storeconfigs. We have a total of 25 machines. I don't know if this is related to the issue at large. On Wednesday, November 28, 2012 8:09:38 PM UTC-5, Jeff McCune wrote: > > On Wed, Nov 28, 2012 at 10:55 AM, John Lamb &g

Re: [Puppet Users] Puppet report aggregation

2012-12-06 Thread John Warburton
.csv | awk -F, '{print $7, $8}' | sort | uniq -c | sort -rn | head 898 File /etc/sudoers 801 File /opt/local/sbin/run-puppet.sh 792 File ntp.conf 754 File vposend-test.pl 752 File /opt/local/sbin/puppet-register.sh 751 File /var/puppet/etc/local_puppet_info 7

[Puppet Users] Does facter 2.x need cfengine key support?

2012-12-06 Thread John Warburton
We were tripped up (we shot ourselves) on facter 1.6.x looking in a missing NFS mounted /usr/local, which got me thinking - does facter 2.x really need this? https://github.com/puppetlabs/facter/blob/2.x/lib/facter/Cfkey.rb John -- You received this message because you are subscribed to the

Re: [Puppet Users] Does facter 2.x need cfengine key support?

2012-12-09 Thread John Warburton
On 8 December 2012 04:34, Peter Meier wrote: > And why shouldn't it? > Nagios is being removed from core . Cfengine isn't core, and falls under the same logic -- You recei

[Puppet Users] Multiple Requires not allowed, not sure what this is for...

2012-12-21 Thread John Moser
I'm having a case where, as with Puppet, multiple packages use the same file. For example, puppet and puppetmaster both use /etc/puppet/puppet.conf My first attempt was to have a class 'puppet::client' include a service 'puppet' with a require => Class["puppet::config"], as well a class 'puppe

RE: [Puppet Users] Re: RHEL/Oracle Linux - user creation.

2012-12-28 Thread John Guthrie
found that updating shadow-utils seemed to fix the issue. John Guthrie jguth...@book.com From: puppet-users@googlegroups.com [puppet-users@googlegroups.com] on behalf of 刘长元 [liucy1...@gmail.com] Sent: Friday, December 28, 2012 10:02 PM To: puppet-

Re: [Puppet Users] Re: Managing core files using coreadm (Solaris + Puppet)

2013-01-08 Thread John Warburton
%p' >> > >> > > } >> > >> > > The problem with option 1 is that Sun don't recommend messing with >> the >> > > config file directly, and that it >> > > relies on a way to force the kernel to re-read the config from the

Re: [Puppet Users] Re: Puppet LVM create volume maximum size

2013-01-08 Thread John Warburton
On 8 January 2013 22:22, ollies...@googlemail.com wrote: > > Never mind sorted it with the help of > http://projects.puppetlabs.com/issues/14718 > Nice one. I thought it was just my wrapper around it. The doc implies setting size to "undef", which I've

[Puppet Users] Puppet Enterprise Versioning

2013-01-09 Thread John Julien
t until PE moves to 3.0.0 to be able to use this feature? Thanks, John -- 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

[Puppet Users] Puppet Enterprise Versioning

2013-01-09 Thread John Julien
t until PE moves to 3.0.0 to be able to use this feature or is it possible it will be included in a 2.x version of PE? Thanks, John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://gro

[Puppet Users] Re: puppet dashboard run time problems

2013-01-17 Thread Matt John
+1 On Thursday, December 20, 2012 10:23:25 AM UTC, Jacob wrote: > > Hello all, > > I just noticed that in my dashboard the "Run Time" graph shows really > weird output. It seems like it is different for different nodes. For some > nodes, it doesn't seem to be updating, and for others it graphs

Re: [Puppet Users] How do I manage puppet.conf? Let me count the ways.

2013-01-17 Thread John Warburton
f we move the server in/out of lab as our lab has separate puppet server/CA/report to production John -- 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 unsubscrib

Re: [Puppet Users] Creating users and group with same name

2013-02-05 Thread John Julien
This appears to be a bug. I've opened a ticket for resolution. https://projects.puppetlabs.com/issues/19090 You can work around it by specifying the group in your user resource. #puppet resource user logstash ensure=present gid=logstash On Feb 5, 2013, at 10:01 AM, Abhijeet Rastogi wrote: I

[Puppet Users] Strange "Could not evaluate" error on a File resource

2013-02-11 Thread John Martin
n using Puppet for 3 years and have never seen anything like this. Any thoughts? Thanks, John -- 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 to pupp

[Puppet Users] Re: Strange "Could not evaluate" error on a File resource

2013-02-11 Thread John Martin
Solved the issue. It was simply that I was referencing source instead of template in the File resource. The pre-existing code had scripts in both the files and templates directories, which I didn't realize. I copied the file in the templates directory instead of files. Such a rookie mistake...

[Puppet Users] Checking GIT updates

2013-02-14 Thread John Coggeshall
rue only if there is a new revision to pull. The question is, how do I conditional include many different file {} and other things only if that condition is true? If this was just an exec{} I could use onlyif. John -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Stomp connector deprecated ?

2013-02-17 Thread John Warburton
ould I continue with mcollective 2.2.x / stomp 1.2.2 / Active MQ 5.5 or wait a bit longer? Thanks John -- 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

[Puppet Users] Some thoughts on design patterns and hiera includes

2013-02-18 Thread John Moser
I have been thinking about a good way to include things in Hiera--that is, to insert a directive to add another stream. The problem is one of attachment: inserting things becomes complex when you think much about it. Consider the following: --- key1: value1 key2: value2 key3

Re: [Puppet Users] Stomp connector deprecated ?

2013-02-18 Thread John Warburton
s previously. > Thanks for the clarification Drew & the docs Ellison. Reading that through and checking my config made me very happy - I moved to the activemq connector a few days ago to enable SSL :-) John -- You received this message because you are subscribed to the Google Groups "

Re: [Puppet Users] Stomp connector deprecated ?

2013-02-18 Thread John Warburton
arning > that we will at some point in the future move to them as standard. > > I'll update the docs with this information hopefully this week > Thanks for the detailed response RI - appreciated John -- You received this message because you are subscribed to the Google Gro

Re: [Puppet Users] puppetlabs-lvm and --guess-fstype

2013-02-26 Thread John Warburton
pull/23>in the bug ticket and it works like a charm (RHEL 6.4, ext4 only). Thanks Mathieu! How do we get this into an official update of the lvm module on the forge? John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscr

Re: [Puppet Users] PuppetCA and saved certs

2013-03-13 Thread John Warburton
We've had the occasional fat finger in the client certs directory and all certs being deleted. Everything carried on as usual... John On 13 March 2013 20:36, Felix Frank wrote: > Hi, > > I concur that cryptographically, there is absolutely no sense in keeping > the signed ce

[Puppet Users] syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-21 Thread John Smith
I'm trying to use Keith Burdis's excellent erwbgy/system module without Hiera, at least initially. http://forge.puppetlabs.com/erwbgy/system I cannot determine how call the modules. From what I can tell the documentation isn't quite correct (or I am reading it wrong). I'm trying to start wit

[Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-21 Thread John Smith
On Thursday, March 21, 2013 1:58:10 PM UTC-7, Ellison Marks wrote: > And just to have an answer on the list as well, the syntax in the docs is > correct. Though it might be class { "system::ntp" in your case. Not sure of > the specifics of that module. > > > http://docs.puppetlabs.com/puppet/3/r

[Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-22 Thread John Smith
thank you very much!!! working much better now :) -- 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 to puppet-users+unsubscr...@googlegroups.com. To post to this gro

Re: [Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-22 Thread John Smith
On Friday, March 22, 2013 8:54:50 AM UTC-7, Keith Burdis wrote: > > Good news. I'd encourage people to file bug or feature requests on GitHub > if they run into problems or have ideas for improvements. Tutorial > documentation is coming Real Soon Now (TM) :-) > > - Keith > Keith, What's th

Re: [Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-25 Thread John Smith
On Friday, March 22, 2013 10:04:28 PM UTC-7, Keith Burdis wrote: > Most of the classes take a config hash parameter so this would be: > > $ntp = { > 'servers' => ['ntp1.domain.com'], > } > > class { 'system::ntp': > config => $ntp, > } > > I use this internally and Byron showed me an example o

Re: [Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-27 Thread John Smith
I'm now trying to use system::sshd. I can see that sshd takes a hash as a parameter instead of an array. However, all my attempts to guess or otherwise determine the correct syntax are failing. Here's what I've got so far $sshd = { 'AllowGroups' : value => ['root' , 'IT', 'EN

Re: [Puppet Users] Re: syntax problems trying to use Keith Burdis's erwbgy/system module without Hiera

2013-03-27 Thread John Smith
On Wednesday, March 27, 2013 4:01:12 PM UTC-7, John Smith wrote: > I'm now trying to use system::sshd. > I can see that sshd takes a hash as a parameter instead of an array. > However, all my attempts to guess or otherwise determine the correct > syntax are failing. > Here&#x

Re: [Puppet Users] replacing mkdir -p

2013-04-08 Thread John Warburton
have been requesting this feature for over 7 years ( http://projects.puppetlabs.com/issues/86). It won't be accepted as there is not enough consensus as how to implement it. Read the very long arguments in the ticket notes for the intricacies John -- You received this message because you a

[Puppet Users] Anyone managed to integrate Ambari/Hortonworks with an existing puppet installation?

2013-04-10 Thread John Warburton
://issues.apache.org/jira/browse/AMBARI-665), but aren't doing much about it Thanks John -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

Re: [Puppet Users] Re: Anyone managed to integrate Ambari/Hortonworks with an existing puppet installation?

2013-04-18 Thread John Warburton
On 18 April 2013 14:35, Yusaku Sako wrote: > Hi John, > > You are looking at an old version of HDP (1.1). > > The Puppet library that is used by the Ambari agent is completely > sandboxed - it will not interfere with your existing Puppet installation. > Yusaku > Thanks

[Puppet Users] Hiera error in Puppet: undefined method `empty?'

2013-04-22 Thread John George
pppassword I have a hiera.yaml in /etc/hiera.yaml and also in /etc/puppetlabs/puppet/hiera.yaml. Thanks for any assistance - I did see a similar post a month ago, but there was no resolution. Thanks, John -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Hiera error in Puppet: undefined method `empty?'

2013-04-22 Thread John George
pppassword I have a hiera.yaml in /etc/hiera.yaml and also in /etc/puppetlabs/puppet/hiera.yaml. Thanks for any assistance - I did see a similar post a month ago, but there was no resolution. Thanks, John -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Hiera error in Puppet: undefined method `empty?'

2013-04-22 Thread John George
I just figured out the error. The keyring had the wrong ownership permissions! I guess writing out the problem can help figure out the issue. Hope this will help someone else save time and effort. On Monday, April 22, 2013 1:53:26 PM UTC-7, John George wrote: > > Hello, > > I ha

Re: [Puppet Users] Re: High Availability of Puppet server for separate geographical location

2013-05-08 Thread John Warburton
ca2 to only suck down the .../etc/ssl/ca directory from puppet-ca If puppet-ca becomes unavailable, we move the puppet-ca CNAME to puppet-ca2. That lag is acceptable to us. You may chose to use other load balancing options like an F5 John -- You received this message because you are subscribed to

Re: [Puppet Users] Re: High Availability of Puppet server for separate geographical location

2013-05-08 Thread John Warburton
ost/complexity needs. Sometime a one pager set of instructions is good enough, but Puppet Labs aren't going to be able to meet everyone's HA needs I was lucky that this was my second puppet deployment and I had a design that was HA from the start - so built it all in from the start. Kee

Re: [Puppet Users] ignoring a service that doesn't exist

2013-05-09 Thread John Simpson
I've done the following, it ended up being a bit simpler for me when I'm not sure what random services a new CentOS install has installed and/or enabled... define no_service ( ) { service { "${name}" : ensure => stopped , enable => false , status => "stat -t /etc/rc?.d/S?

[Puppet Users] Run a File resource only if another file is missing

2013-05-30 Thread John Naggets
group => 'www-data', content => template("owncloud/autoconfig.php.erb"), } only when a specific file (in my case: /var/www/owncloud/config/config.php) is missing. Is this somehow possible? Couldn't find my case in the

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread John Naggets
Thanks guys for your input. That's correct I am looking to act upon another file's nonexistence... I will go with facter. On Friday, May 31, 2013 2:57:56 PM UTC+2, Matthias Saou wrote: > > Hi, > > Indeed, I had missed that John was mentioning two different fil

[Puppet Users] How to deal with DB passwords?

2013-06-07 Thread John Naggets
eally best practice and wouldn't even work with Craig Dunn's design afaik. Any thoughts or best practices for this case? Regards, John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop rec

[Puppet Users] Re: How to deal with DB passwords?

2013-06-07 Thread John Naggets
That way, if someone ever sees the config for the passwords, they will > always be encrypted. > > On Friday, June 7, 2013 4:28:39 AM UTC-4, John Naggets wrote: >> >> Hello, >> >> I really like Craig Dunn's roles and profiles pattern for more readable >>

Re: [Puppet Users] Multiple Puppet agents on one node?

2013-07-05 Thread John V.
Hi, Sorry to revive this old thread, but I'm trying to do the same thing and running into two minor problems.. I would like to rename the puppet command to something like puppet3. We're running two versions while we're migrating from 2.7 to 3.x However, when I try to do a symlink I get the fol

[Puppet Users] Renaming puppet binary to use with two puppet agent instances

2013-07-09 Thread John V.
and 'puppet3' See 'puppet help' for help on available puppet subcommands I do not have any problems with puppet colliding with puppet 2 but I'd like to use a shortcut vs using the /path/to/puppet3/bin/.puppet. Is there a way to do this? Than

Re: [Puppet Users] Renaming puppet binary to use with two puppet agent instances

2013-07-10 Thread John V.
ut the shortcut, because normally I would symlink to the binary and it would be fine, but in this scenario when I symlink it ends up using the command as an ARGV 0 value. -John. On Tuesday, July 9, 2013 5:26:56 PM UTC-7, Pete wrote: > > I think the general consensus on multiple maste

Re: [Puppet Users] Re: Decomission node process (puppet / puppetdb / dashboard)

2013-07-25 Thread John Warburton
rd: /local/puppet/dashboard/dashboard/config/database.yml | awk '{print $2}'` mysqlcheck -u $USER --password=$PASSWORD --optimize --databases $DATABASE >> $LOG 2>&1 John -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

[Puppet Users] dashboard displaying \n in report output

2013-07-29 Thread John Naggets
correctly. Any ideas what could be the cause? Thanks and regards, John -- 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 to puppet-users+unsubscr...@googlegrou

[Puppet Users] Nagios service not restarting when removing a host from the database

2013-08-05 Thread John Santana
Nagios is restarted every time a host or service is added, but never when removing hosts or services. The client resources: @@nagios_host { "$::fqdn": ensure=> 'present', alias => "$::hostname", address => "$::ipaddress", use => 'linux-server', } @@nagios_service

Re: [Puppet Users] Possible for each user to have their own testing environment?

2013-08-15 Thread John Warburton
hen merges the changes back into develop/trunk, and updates the JIRA ticket The only gotcha is if you have multiple feature branches at any time and managing the sym link John -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

Re: [Puppet Users] Re: yum provider executes rpm -e?

2013-08-27 Thread John Florian
On Tuesday, June 30, 2009 6:22:26 PM UTC-4, lutter wrote: > > > The basic issue is that puppet doesn't know about dependencies (not sure > it should), but once you throw 'yum -y erase' into the mix, it becomes > very easy to write inconsistent manifests, where a package erase removes > a package

Re: [Puppet Users] Re: yum provider executes rpm -e?

2013-08-27 Thread John Florian
On Tuesday, June 30, 2009 4:58:33 AM UTC-4, Peter Meier wrote: > > While looking at the code and > > http://reductivelabs.com/trac/puppet/wiki/TypeReference#package you'll > also see that the yum provider is purgeable and that the yum provider > has an own purge method. > So if this would fit you

Re: [Puppet Users] Re: Puppet Manage Cisco ASA

2013-09-01 Thread John Warburton
them to support new (and older) hardware as well as supported puppet providers on their schedule. From what I can gather, Juniper on the other hand focuses on managing the device API. Since OnePK also supports API management, I can see the community pushing ahead there rather than waiting on Cisco

[Puppet Users] when does 'updated_at' column get updated?

2013-09-11 Thread John Santana
Using centos 6 with puppet-2.6.17 with thin_storeconfigs with mysql and nagios exported resources. Every time an agent connects to the master, the updated_at column in the hosts table is updated. However, the updated_at column in the other tables is not updated even when I alter a nagios resour

[Puppet Users] SSH configuration Question

2013-09-15 Thread John.1209
s that run SSHD with the following ports: Port 22 Port Port 1000, and so on. How can I write or modify the puppet openssh module to update the different configurations? Thanks in advance. John -- You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Re: when does 'updated_at' column get updated?

2013-09-16 Thread John Santana
Does anyone know? On Wednesday, September 11, 2013 5:08:23 PM UTC-4, John Santana wrote: > > Using centos 6 with puppet-2.6.17 with thin_storeconfigs with mysql and > nagios exported resources. Every time an agent connects to the master, the > updated_at column in the hosts tabl

[Puppet Users] Re: config print seems to be broken

2013-09-23 Thread John Julien
On Monday, September 23, 2013 10:02:18 AM UTC-5, Brandon Metcalf wrote: > > OK, thanks. Based on the doc, it looks like if I have a host that acts as > a master and agent and the [master] and [agent] sections contain different > values for environment, then there is no way to get "puppet confi

[Puppet Users] Noob question about the ${name} variable

2013-09-25 Thread John Simpson
/httpd/conf.d/ssl.conf.erb". Why does $name expand differently in these cases, and where did I miss this in the documentation? -- John Simpson Unix System/VM Developer and Engineering Operations, Voalte +1 (941) 312-2830 x148 -- You received this message because you are subscribed to the G

Re: [Puppet Users] Noob question about the ${name} variable

2013-09-25 Thread John Simpson
On 2013-09-25, at 0819, Brian Lalor wrote: On Sep 25, 2013, at 8:12 AM, John Simpson wrote: > >> file { '/etc/httpd/conf.d/ssl.conf' : >> ensure => file , >> content => template ( "${module_name}{$name}.erb" ) , >> } >> >> H

Re: [Puppet Users] Noob question about the ${name} variable

2013-09-26 Thread John Simpson
On 2013-09-26, at 0303, Rahul Khengare wrote: > Hi John, >Read my previous reply, > > file { '/etc/httpd/conf.d/ssl.conf' : > ensure => file , > mode=> 0644 , > owner => 0 , > group => 0 , >

[Puppet Users] modulepath ordering question

2013-10-01 Thread John Simpson
making the environments totally separate and having to full copy of one environment in order to use my test environment (although if that's the only way to do it, I'm not totally against doing it.) -- John Simpson Unix System/VM Developer and Engineering Operations, Voalte +1 (941) 312-

[Puppet Users] Re: mcollective setup question

2013-10-14 Thread John Gelnaw
Was there ever a solution to this issue? I appear to be having a similar (if not the same) issue: By adding some debug code to client.rb, it appears that the replies I'm getting have no requestid at all. < Log.warn("Ignoring a message that did not pass security validations") --- >

Re: [Puppet Users] Re: Status of Data in modules

2013-10-15 Thread John Julien
be easier to implement, to understand, and to use. > > > John > > I agree with this. It seems the proposed new solution adds complexity and non-intuitive value lookups that could confuse users. I think the data-in-modules feature sounds useful. Perhaps as John suggests a cha

[Puppet Users] Re: Status of Data in modules

2013-10-15 Thread John Julien
On Friday, October 11, 2013 7:12:32 PM UTC-5, Chuck wrote: > > What would be nice but not necessary: > > 1) defined variable automatically have classname added to avoid global > conflicts. > > > eg. > > Module: apache > > variable: port > > becomes global hiera: apache::port > +1 Defining

[Puppet Users] puppet master --compile: extra output?

2013-10-21 Thread John Simpson
onds Is there a way to tell it NOT to generate this line? Google is telling me nothing useful, and I have trouble believing I'm the first person to notice this. -- John Simpson Unix System/VM Developer and Engineering Operations, Voalte -- You received this message because you are subs

<    1   2   3   4   5   6   7   >