Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-19 Thread R.I.Pienaar
- Original Message - > I'm looking for strong opinions on whether we should or shouldn't > deprecate the defined() function for Telly, the next major Puppet > release this year. First choice would be to make it reliable, that seems unlikely though +1, I'd also make the scope.classes var

Re: [Puppet Users] Re: RFC: Deprecate defined() function for Telly.

2012-01-19 Thread R.I.Pienaar
- Original Message - > Defined() doesn't suck! It's a 100% reliable way to check what > classes and defined types are available to the autoloader. I challenge anyone > to find me an example of this usage that fails. can you give an example of this use case pls? -- You received this mes

Re: [Puppet Users] Re: RFC: Deprecate defined() function for Telly.

2012-01-19 Thread R.I.Pienaar
- Original Message - > > > On Jan 19, 11:01 am, "R.I.Pienaar" wrote: > > - Original Message - > > > Defined() doesn't suck! It's a 100% reliable way to check what > > > classes and defined types are available to the aut

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread R.I.Pienaar
- Original Message - > Hey there, > > If you're going through all that, and are trying to get a purge-able > directory of resources, would you find it easier to declare the > /etc/yum.repos.d directory with purge => true, and then declare your > repos as file declarations? An exec of 'yu

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread R.I.Pienaar
; > puppet-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > > > > -- > Steph Gosling > > -- > You received this message because you are subscribed to the Google >

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread R.I.Pienaar
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...@googl

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread R.I.Pienaar
- Original Message - > Is the puppet agent daemon running when you run the agent by hand? Ah! thats it, I'll take a look -- 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.c

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread R.I.Pienaar
- Original Message - > I'm having the same thing, I use puppetd -tv all the time and now > it's > trying to delete a .pid at the end: > > > err: Could not remove PID file /var/run/puppet/agent.pid > > > It's super annoying but not fatal I suppose. I stopped the daemon > from running a

Re: [Puppet Users] Puppet agents stop reporting after master runs out of disk space...

2012-01-30 Thread R.I.Pienaar
- Original Message - > Thanks guys.. I'll check out mcollective. Yeah, the root password 60 > times is a bit painful, but the ssh loop would help. If I remember > right, there is an API/REST call for Foreman that will give me a list > of the hosts not responsive. > > The problem here i

Re: [Puppet Users] MCollective Cost?

2012-02-01 Thread R.I.Pienaar
- Original Message - > Someone told me yesterday that collective wasn't free, New to me. Has > something changed in the past month, or are they looking at the > commercial version? The web site must be somewhat confusing if a new > user thinks it costs, but it doesn't. > mcollective is

Re: [Puppet Users] What is the fully-qualified variable name format for external and factors variable in template erb file?

2012-02-06 Thread R.I.Pienaar
- Original Message - > There's a couple of ways to do this, but I usually take the easy > route: assign a local variable that has the global's value in the > related manifest. In this case, in centrifydc's init.pp just set > $domain=$::domain. This will appear as a local variable in the

Re: [Puppet Users] class inheritance question

2012-02-07 Thread R.I.Pienaar
- Original Message - > From: "jimbob palmer" > To: puppet-users@googlegroups.com > Sent: Tuesday, February 7, 2012 11:52:23 AM > Subject: [Puppet Users] class inheritance question > > If I have a class > > class something {} > > and a subclass > > class something::blah ($var=0) inher

Re: [Puppet Users] Puppet unless behaviour with a dependency

2012-02-17 Thread R.I.Pienaar
- Original Message - > From: "jimbob palmer" > To: puppet-users@googlegroups.com > Sent: Friday, February 17, 2012 3:12:46 PM > Subject: [Puppet Users] Puppet unless behaviour with a dependency > > Is this really expected behaviour? Should the second Exec succeed > even if the first nev

Re: [Puppet Users] Mcollective for OpenSUSE

2012-03-14 Thread R.I.Pienaar
- Original Message - > From: "Douglas Garstang" > To: "Puppet Users" > Sent: Wednesday, March 14, 2012 4:25:28 PM > Subject: [Puppet Users] Mcollective for OpenSUSE > > Sorry if there's an mcollective mailing list... > > So, I'm working for a company that using OpenSUSE, which in my >

Re: [Puppet Users] Re: mcollective bits

2012-03-20 Thread R.I.Pienaar
- Original Message - > From: "Matt Warren" > To: "Puppet Users" > Sent: Tuesday, March 20, 2012 1:47:46 PM > Subject: [Puppet Users] Re: mcollective bits > > On Mar 19, 1:45 pm, Douglas Garstang wrote: > > I've always found the mcollective docs > > athttp://docs.puppetlabs.com/mcollec

Re: [Puppet Users] Arrays from templates

2012-03-27 Thread R.I.Pienaar
- Original Message - > From: "pablo" > To: puppet-users@googlegroups.com > Sent: Tuesday, March 27, 2012 3:55:05 PM > Subject: [Puppet Users] Arrays from templates > > Hi, > > I am having an issue trying to use the inline_template function to > return an array. This is what I do: > >

Re: [Puppet Users] Hash iteration order in a template not consistent

2012-03-28 Thread R.I.Pienaar
- Original Message - > From: "Martijn Grendelman" > http://serverfault.com/questions/368784/puppet-and-templates-how-to-loop-sequently-and-not-randomly > > which suggests to do something like > > <% aliases.sort_by {|key, value| key}.each_pair do |key, val| -%> > <% end -%>

[Puppet Users] Re: [Puppet-dev] Taking github noise away from puppet-dev list

2012-04-12 Thread R.I.Pienaar
- Original Message - > From: "Dean Wilson" > To: puppet-...@googlegroups.com > Cc: puppet-users@googlegroups.com > Sent: Thursday, April 12, 2012 10:55:45 AM > Subject: Re: [Puppet-dev] Taking github noise away from puppet-dev list > > On 12 April 2012 08:48, Brice Figureau > wrote: >

Re: [Puppet Users] Re: function template: use of variable '$string' = BUG?

2012-04-19 Thread R.I.Pienaar
- Original Message - > From: "Antidot SAS" > To: "puppet-users" > Sent: Thursday, April 19, 2012 12:42:02 PM > Subject: [Puppet Users] Re: function template: use of variable '$string' = > BUG? > > Hi, > > > A little love about my bug? Am I the only one with this problem or > are we

Re: [Puppet Users] How can i make a 'file' resource depend on package installation?

2012-04-23 Thread R.I.Pienaar
- Original Message - > From: "geog" > To: "Puppet Users" > Sent: Monday, April 23, 2012 10:11:30 AM > Subject: [Puppet Users] How can i make a 'file' resource depend on package > installation? > > basically i want to add to my file resource a requirements on a pre- > installed package

Re: [Puppet Users] querying hiera data without providing host/scope

2012-04-30 Thread R.I.Pienaar
- Original Message - > From: "Andreas Paul" > To: puppet-users@googlegroups.com > Sent: Monday, April 30, 2012 2:52:00 PM > Subject: [Puppet Users] querying hiera data without providing host/scope > > Hello there, > > I need to access the following hiera data in a script: > $ hiera -c

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

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "John Kennedy" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 11:59:49 AM > Subject: [Puppet Users] Using fact to determine node environment > > We have a custom fact that we wrote to determine which (business) > environment a specific se

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

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "Nigel Kersten" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 4:10:16 PM > Subject: Re: [Puppet Users] Using fact to determine node environment > > > > > On Wed, May 2, 2012 at 4:19 AM,

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

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "Nigel Kersten" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 4:24:06 PM > Subject: Re: [Puppet Users] Using fact to determine node environment > > > > > On Wed, May 2, 2012 at 8:18 AM,

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

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "Nigel Kersten" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 4:38:38 PM > Subject: Re: [Puppet Users] Using fact to determine node environment > > > > > On Wed, May 2, 2012 at 8:37 AM,

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

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "R.I.Pienaar" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 4:46:24 PM > Subject: Re: [Puppet Users] Using fact to determine node environment > > > > - Original Message - > > Fro

Re: [Puppet Users] mixing source & content (templates) in concat::fragment

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "Tim Mooney" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 7:00:30 PM > Subject: [Puppet Users] mixing source & content (templates) in > concat::fragment > > > All- > > We're using puppet 2.7.11. > > Our custom firewall module curren

Re: [Puppet Users] mixing source & content (templates) in concat::fragment

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "Tim Mooney" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 10:39:08 PM > Subject: Re: [Puppet Users] mixing source & content (templates) in > concat::fragment > > In regard to: Re: [Puppet Users] mixing source & content (templates) > in

Re: [Puppet Users] hiera "environmentss" question

2012-05-02 Thread R.I.Pienaar
- Original Message - > From: "Ramin K" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 2, 2012 10:51:56 PM > Subject: Re: [Puppet Users] hiera "environmentss" question > > On 5/2/2012 2:16 PM, Gary Larizza wrote: > > I'm using the following which I copied from somewhere.

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-04 Thread R.I.Pienaar
- Original Message - > From: "Pieter van de Bruggen" > > * How should we integrate hiera_array() and hiera_hash() ? > * How should we integrate hiera ’s “default” and “override” > parameters? > * How should we handle overlaps between data supplied by Hiera > and d

Re: [Puppet Users] Re: Puppet 3.0 and Hiera

2012-05-04 Thread R.I.Pienaar
- Original Message - > From: "Jeremy Carroll" > To: puppet-users@googlegroups.com > Sent: Friday, May 4, 2012 5:19:37 PM > Subject: [Puppet Users] Re: Puppet 3.0 and Hiera > > We use Hiera backed Puppet here at Klout. Mainly for the reasons of > separating configuration data from puppet

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-06 Thread R.I.Pienaar
On 5 May 2012, at 17:26, Trevor Vaughan wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > With the integration of Hiera, is the extlookup functionality being > deprecated? > > If so, I would like to ask that the team add a Hiera backend for the existing > extlookup data sources. >

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-08 Thread R.I.Pienaar
- Original Message - > From: "John Warburton" > To: puppet-users@googlegroups.com > Sent: Tuesday, May 8, 2012 12:14:48 PM > Subject: Re: [Puppet Users] Puppet 3.0 and Hiera > > > On 8 May 2012 20:00, Derek J. Balling < dr...@megacity.org > wrote: > > > > > On May 7, 2012, at 12:47

Re: [Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-10 Thread R.I.Pienaar
- Original Message - > From: "Daniel Sauble" > To: puppet-users@googlegroups.com > Sent: Thursday, May 10, 2012 7:34:14 PM > Subject: [Puppet Users] Re: Puppet Sites. Your thoughts? > > On Thursday, May 10, 2012 10:39:22 AM UTC-7, windowsrefund wrote: > > > On May 10, 12:44 pm, Daniel

Re: [Puppet Users] Mailing list etiquette

2012-05-16 Thread R.I.Pienaar
- Original Message - > From: "Trevor Vaughan" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 16, 2012 2:42:49 PM > Subject: Re: [Puppet Users] Mailing list etiquette > > I'm going to have to push back a bit at the no top posting with the > same reasoning as described here: >

Re: [Puppet Users] Puppet facter 1.6.8 and inet6 addresses

2012-05-17 Thread R.I.Pienaar
- Original Message - > From: "Christophe L" > To: puppet-users@googlegroups.com > Sent: Thursday, May 17, 2012 2:36:49 PM > Subject: [Puppet Users] Puppet facter 1.6.8 and inet6 addresses > > Hello, > > when running the command "ip a" on a debian VM, I get this > > 1: lo: mtu 16436 q

Re: [Puppet Users] starting puppetmaster - what's the best way?

2012-05-23 Thread R.I.Pienaar
- Original Message - > From: "Sans" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 23, 2012 10:02:46 AM > Subject: [Puppet Users] starting puppetmaster - what's the best way? > > Dear all, > > I've moved away from WEBrick to Apache/passenger on puppetmaster, so > not /etc/i

Re: [Puppet Users] Thoughts on job listings?

2012-05-30 Thread R.I.Pienaar
- Original Message - > From: "Michael Stahnke" > To: puppet-users@googlegroups.com > Sent: Wednesday, May 30, 2012 9:49:44 PM > Subject: [Puppet Users] Thoughts on job listings? > > How do folks feel about getting Puppet job listings on this list? > I've rejected a few that we quite spa

Re: [Puppet Users] repeat a character in a string a certain number of times

2012-05-31 Thread R.I.Pienaar
- Original Message - > From: "Luke Bigum" > To: puppet-users@googlegroups.com > Sent: Thursday, May 31, 2012 11:44:41 AM > Subject: [Puppet Users] repeat a character in a string a certain number of > times > > Hi all, > > This should be pretty easy to do but I can't figure it out in P

Re: [Puppet Users] MCollective not all nodes answer to commands when using aes_security plugin

2012-06-07 Thread R.I.Pienaar
- Original Message - > From: "Martin Willemsma" > To: "Puppet Users" > Sent: Thursday, June 7, 2012 7:11:41 AM > Subject: [Puppet Users] MCollective not all nodes answer to commands when > using aes_security plugin > > Hi, > > I deployed MCollective to our Puppet clients. approx. ~ 2

Re: [Puppet Users] MCollective not all nodes answer to commands when using aes_security plugin

2012-06-08 Thread R.I.Pienaar
e that the ping times are pretty high but I could live with > that if at least all the replies came back. ping times that long will just prevent everything from working. there's a fundamental problem somewhere. > I spend quite some time making this work on our platform. I need to

Re: [Puppet Users] MCollective not all nodes answer to commands when using aes_security plugin

2012-06-09 Thread R.I.Pienaar
- Original Message - > From: "Martin Willemsma" > To: puppet-users@googlegroups.com > Sent: Saturday, June 9, 2012 4:37:05 AM > Subject: Re: [Puppet Users] MCollective not all nodes answer to commands when > using aes_security plugin > > I currently have two different MQ's running, one

Re: [Puppet Users] can we avoid notify/subscribe firing on a mode change?

2012-06-13 Thread R.I.Pienaar
- Original Message - > From: "Jo Rhett" > To: puppet-users@googlegroups.com > Sent: Wednesday, June 13, 2012 9:33:35 AM > Subject: [Puppet Users] can we avoid notify/subscribe firing on a mode change? > > I managed to have a booboo tonight by restarting a process which > really shouldn'

Re: [Puppet Users] What triggers a client to pull from server

2012-06-14 Thread R.I.Pienaar
- Original Message - > From: "Alex" > To: puppet-users@googlegroups.com > Sent: Thursday, June 14, 2012 9:25:13 AM > Subject: [Puppet Users] What triggers a client to pull from server > > Hi, > > Installing my first Puppet master / client environment. All working > well so far, the ma

Re: [Puppet Users] optimize performance

2012-06-16 Thread R.I.Pienaar
- Original Message - > From: "aabed" > To: puppet-users@googlegroups.com > Sent: Saturday, June 16, 2012 5:14:40 PM > Subject: [Puppet Users] optimize performance > > hey all > > > is there any way i can make puppet run faster > it takes 8 seconds just to load facts and cache catalog

Re: [Puppet Users] Re: Correct way to handle node-specific variable values in puppet 2.7

2012-06-19 Thread R.I.Pienaar
- Original Message - > From: "Jon Schewe" > To: puppet-users@googlegroups.com > Sent: Tuesday, June 19, 2012 1:13:09 PM > Subject: Re: [Puppet Users] Re: Correct way to handle node-specific variable > values in puppet 2.7 > > Right now I'm referencing the variable as "<%= ldap_server %

[Puppet Users] Re: facter plugin requires cause catalog failure, prevent setting up new clients

2012-06-19 Thread R.I.Pienaar
- Original Message - > From: "Jo Rhett" > To: puppet-users@googlegroups.com > Cc: r...@devco.net > Sent: Wednesday, June 20, 2012 12:05:47 AM > Subject: facter plugin requires cause catalog failure, prevent setting up new > clients > > There's a generic problem that I suspect that many

Re: [Puppet Users] facter plugin requires cause catalog failure, prevent setting up new clients

2012-06-19 Thread R.I.Pienaar
- Original Message - > From: "Jo Rhett" > To: puppet-users@googlegroups.com > Sent: Wednesday, June 20, 2012 12:26:48 AM > Subject: Re: [Puppet Users] facter plugin requires cause catalog failure, > prevent setting up new clients > > > > On

Re: [Puppet Users] facter plugin requires cause catalog failure, prevent setting up new clients

2012-06-20 Thread R.I.Pienaar
- Original Message - > From: "Felix Frank" > To: puppet-users@googlegroups.com > Sent: Wednesday, June 20, 2012 9:03:48 AM > Subject: Re: [Puppet Users] facter plugin requires cause catalog failure, > prevent setting up new clients > > On 06/20/2012 01:34 AM, Jo Rhett wrote: > > > >>

Re: [Puppet Users] Custom facts and hyphens

2012-06-20 Thread R.I.Pienaar
- Original Message - > From: "Steph Gosling" > To: puppet-users@googlegroups.com > Sent: Wednesday, June 20, 2012 1:20:12 PM > Subject: [Puppet Users] Custom facts and hyphens > > Hi all, > > Possibly related to http://projects.puppetlabs.com/issues/10146 but I > wanted to get a second

Re: [Puppet Users] How to iterate over an array? (with a counter)

2012-06-20 Thread R.I.Pienaar
- Original Message - > From: "James Patterson" > To: puppet-users@googlegroups.com > Sent: Wednesday, June 20, 2012 10:39:02 PM > Subject: [Puppet Users] How to iterate over an array? (with a counter) > > Given an array, I'd like to iterate over it with a counter to produce > something

Re: [Puppet Users] How to iterate over an array? (with a counter)

2012-06-21 Thread R.I.Pienaar
- Original Message - > From: "James Patterson" > To: puppet-users@googlegroups.com > Sent: Thursday, June 21, 2012 7:31:58 AM > Subject: Re: [Puppet Users] How to iterate over an array? (with a counter) > > On Wed, Jun 20, 2012, at

Re: [Puppet Users] Custom facts and hyphens

2012-06-21 Thread R.I.Pienaar
- Original Message - > From: "Felix Frank" > To: puppet-users@googlegroups.com > Sent: Thursday, June 21, 2012 10:18:50 AM > Subject: Re: [Puppet Users] Custom facts and hyphens > > On 06/21/2012 12:30 AM, Jo Rhett wrote: > > I'm not saying that you're wrong, but I'm still struggling to

Re: [Puppet Users] Re: Reducing system load

2012-06-21 Thread R.I.Pienaar
- Original Message - > From: "Len Rugen" > To: puppet-users@googlegroups.com > Sent: Thursday, June 21, 2012 5:02:37 PM > Subject: Re: [Puppet Users] Re: Reducing system load > > Some thoughts from our similar environment: > > > 1. Puppet client runs are like bugs and a light, the

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread R.I.Pienaar
- Original Message - > From: "Rob B." > To: puppet-users@googlegroups.com > Sent: Monday, June 25, 2012 2:52:51 PM > Subject: Re: [Puppet Users] Using generate() to mine a shadow file hash > > > Hey Christopher, > > Thanks for the reply. I will give this a try this morning. As for > y

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread R.I.Pienaar
- Original Message - > From: "R.I.Pienaar" > To: puppet-users@googlegroups.com > Sent: Monday, June 25, 2012 2:53:45 PM > Subject: Re: [Puppet Users] Using generate() to mine a shadow file hash > > > > - Original Message - > &

Re: [Puppet Users] access "indexed" facter facts

2012-06-26 Thread R.I.Pienaar
- Original Message - > From: "tobias" > To: puppet-users@googlegroups.com > Sent: Tuesday, June 26, 2012 1:52:48 PM > Subject: [Puppet Users] access "indexed" facter facts > > Hi everyone, > > I have a fact which looks like that: drbdconnectionstate0. You see > the "0" at the end... No

Re: [Puppet Users] Re: error after upgrading from 2.7.14-2puppetlabs1 to 2.7.17-1puppetlabs1

2012-06-28 Thread R.I.Pienaar
- Original Message - > From: "Erik Dalén" > To: puppet-users@googlegroups.com > Sent: Thursday, June 28, 2012 9:42:43 AM > Subject: Re: [Puppet Users] Re: error after upgrading from > 2.7.14-2puppetlabs1 to 2.7.17-1puppetlabs1 > > On 28 June 2012 02:00, Jeff McCune wrote: > > On Wed,

Re: [Puppet Users] hiera questions

2012-06-28 Thread R.I.Pienaar
- Original Message - > From: llow...@oreillyauto.com > To: puppet-users@googlegroups.com > Sent: Thursday, June 28, 2012 7:59:50 PM > Subject: [Puppet Users] hiera questions > > I'm starting to use hiera more, to try to clean up and better > modularize some of our stuff. > > I know you

Re: [Puppet Users] Optional template files?

2012-06-29 Thread R.I.Pienaar
- Original Message - > From: "GriffaA10" > To: puppet-users@googlegroups.com > Sent: Friday, June 29, 2012 3:37:29 PM > Subject: Re: [Puppet Users] Optional template files? > > Great, that's done the trick, thanks > > Just one thing to note. file() takes an absolute file path (i.e. > /

Re: [Puppet Users] Ruby custom fact question/problem

2012-06-29 Thread R.I.Pienaar
- Original Message - > From: llow...@oreillyauto.com > To: puppet-users@googlegroups.com > Sent: Friday, June 29, 2012 9:05:53 PM > Subject: [Puppet Users] Ruby custom fact question/problem > > I originally started this post to ask about one problem, but in the > process of getting the q

[Puppet Users] Re: Announce: 2.6.9 Released

2011-06-22 Thread R.I.Pienaar
his group, send email to > puppet-annou...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-announce+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-announce?hl=en. > > -- R.I.Pienaar -

Re: [Puppet Users] Re: Using Mcollective with Enterprise Ruby

2011-06-28 Thread R.I.Pienaar
t; -- > 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 m

Re: [Puppet Users] Re: Using Mcollective with Enterprise Ruby

2011-06-30 Thread R.I.Pienaar
- Original Message - > Where is the plugins directory supposed to be installed/located? on redhat, /usr/libexec/mcollective/mcollective/agent, application, etc. this differs between distros based on whatever the distro policies have to say etc. A detailed install guide for plugins exis

Re: [Puppet Users] Definition parameter defaulting to the definition's own $title?

2011-07-15 Thread R.I.Pienaar
- Original Message - > Hi, > > Maybe I'm going nuts, but I could have sworn reading about a trick or > new feature which allowed to have a definition parameter get a > default value of the definition's own $title (instead of having the hack > around the limitation with selectors and inte

Re: [Puppet Users] Re: puppet custom fuction run as user pupprt?

2011-07-15 Thread R.I.Pienaar
- Original Message - > > > On Jul 14, 11:57 am, PBWebGuy wrote: > > You bring up a good point and I wanted to ask this question > > anyways. > > To the best of my knowledge, functions run on the master and facts > > run > > on the node.  If that is the case, it perplexes me that functi

Re: [Puppet Users] Extlookup() Docs

2011-08-03 Thread R.I.Pienaar
- Original Message - > So the new extlookup that can apparently read YAML files, here: > > > http://www.devco.net/archives/2011/05/28/pluggable_extlookup_for_puppet.php > > > Are there any docs on how to actually install? I need a _little_ more > than a reference to the source cod

Re: [Puppet Users] Extlookup() Docs

2011-08-03 Thread R.I.Pienaar
- Original Message - > > On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar < r...@devco.net > wrote: > > > > > > > > - Original Message - > > So the new extlookup that can apparently read YAML files, here: > > &

Re: [Puppet Users] Extlookup() Docs

2011-08-03 Thread R.I.Pienaar
- Original Message - > > > > > its not in puppet core and probably wont be, a more complete system > > is @ http://www.devco.net/archives/tag/hiera > > > > > > > > > > I realise it's not integrated into puppet. Hence the reason for > > asking how to integrate into puppet. In the pre

Re: [Puppet Users] Extlookup() again.

2011-08-03 Thread R.I.Pienaar
- Original Message - > Argh, just realized I left something out of those paths, should be: This all works exactly as extlookup also worked, nothing new there. The general behavior is well documented even in the Puppet core docs -- You received this message because you are subscribed

Re: [Puppet Users] Extlookup() again.

2011-08-03 Thread R.I.Pienaar
- Original Message - > Ok, so am I getting 'DougBobBill' when I use $test_var = > extlookup('testkey', '---', 'settings') on this file? how are you examining this value? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

Re: [Puppet Users] Does Node Inheritance work for people?

2011-08-05 Thread R.I.Pienaar
- Original Message - > On 08/05/2011 09:33 AM, Nigel Kersten wrote: > > We have a bunch of problems people regularly run into with node > > inheritance, and it's something we'd like to find a better solution > > for. > > > Let me guess: > > - nodes are not classes > - n

Re: [Puppet Users] Dynamic lookup of $var

2011-08-18 Thread R.I.Pienaar
- Original Message - > On 8/18/2011 12:08 PM, Gary Larizza wrote: > > On Thu, Aug 18, 2011 at 9:06 AM, Darren Chamberlain > > wrote: > > > $operatingsystem is a facter variable, of course. How are these > > > supposed to be referenced? > > > > They're referenced like this: $::operating

Re: [Puppet Users] Puppet Error during Yum execution

2011-08-25 Thread R.I.Pienaar
- Original Message - > plugins: fastestmirror > Could not retrieve mirrorlist > http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os > error was > 12: Timeout on > http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: > (28, '') Your machine cant talk to the mirror list.

Re: [Puppet Users] Re: Announce: Dashboard 1.2.0 is available now

2011-08-29 Thread R.I.Pienaar
- Original Message - > > On Aug 28, 7:07 am, Toni Birrer wrote: > > While I agree that it's annoying that the puppet dashboard doesn't > > run > > with the ruby included in RHEL, i suggest you have a look at the > > Ruby > > Version Manager (RVM)http://beginrescueend.com/ > > Makes runn

Re: [Puppet Users] Custom Facts

2011-09-02 Thread R.I.Pienaar
- Original Message - > > At the end of the day, this all seems to be a limitation with > mcollective. It can only read facts from one source, either facter > or a yaml file. I believe facter is the current source, and people > have written scripts that rely on that. I can write a custom

Re: [Puppet Users] Re: Custom Facts

2011-09-03 Thread R.I.Pienaar
- Original Message - > Btw, Rip or anyone, any suggestion on how to sort alphabetically the > scope variables so that the generated yaml doesn't change at (almost) > every puppet run? > > content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s > =~ /(uptime_seconds|timestamp

Re: [Puppet Users] hiera_hash explanation?

2011-09-06 Thread R.I.Pienaar
- Original Message - > Hi > I want to create parametrized class with hash parameter from > hiera .yaml file > > so i got > hiera.yaml > backends: - yaml >- json >- puppet > :hierarchy: - %{host} > - common > :json: > :datadir: /etc/puppet/hier

Re: [Puppet Users] Re: The require function

2011-09-06 Thread R.I.Pienaar
- Original Message - > > class platform::common { > >file { > >'/etc/somedir': > >ensure => directory; > > } > > > > class webapp::common { > >require "platform::common" > >file { > >"/etc/somedir/configfile": > ># stuff here. > >}

Re: [Puppet Users] Re: The require function

2011-09-06 Thread R.I.Pienaar
- Original Message - > > > That's a feature in newish versions, right? no, it's been there for ages and ages. -- 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 uns

Re: [Puppet Users] Re: The require function

2011-09-07 Thread R.I.Pienaar
- Original Message - > On Sep 6, 8:54 pm, "R.I.Pienaar" wrote: > > - Original Message - > > > > files auto require their parents, it's not even needed to do > > the require => or require() > > > > > Could you plea

Re: [Puppet Users] Re: The require function

2011-09-07 Thread R.I.Pienaar
- Original Message - > Thanks for the explanation. It turns out that I already use my stuff > the very same way, only without understanding the significance. > > Two related question though: > a. Does order matter? Like: > > file{"/foo/bar": content => "hello world"} >

Re: [Puppet Users] DNS Zone serial numbers

2011-09-09 Thread R.I.Pienaar
- Original Message - > > and the template will include the zone delegation record. What I'm > > trying > > to figure out is how to generate the serial numbers. > > I'd forego the MMDDxxx format and use either UNIX epoch time > which > is auto-incrementing anyway, or store an integer

Re: [Puppet Users] Facter variable $puppetversion

2011-09-09 Thread R.I.Pienaar
- Original Message - > 'notice' is a function. It runs on the server. Try using the 'notify' > resource instead. but surely those two variables would be based on the facts and not some master state? notify would run on the node yes, but the resolution of variable to string would still h

Re: [Puppet Users] Facter variable $puppetversion

2011-09-09 Thread R.I.Pienaar
- Original Message - > On Fri, Sep 9, 2011 at 4:43 PM, Ken Barber > wrote: > > What does: > > > > puppet -e 'notice("$puppetversion")' > > > > Show on the _client_? I know its probably obvious but you never > > know. > > > > Actually, it's not obvious. I didn't know you could do that. N

Re: [Puppet Users] Facter variable $puppetversion

2011-09-09 Thread R.I.Pienaar
- Original Message - > On Fri, Sep 9, 2011 at 4:50 PM, R.I.Pienaar wrote: > > > > > > - Original Message - > >> On Fri, Sep 9, 2011 at 4:43 PM, Ken Barber > >> wrote: > >> > What does: > >> > > >> > pupp

Re: [Puppet Users] Facter variable $puppetversion

2011-09-09 Thread R.I.Pienaar
- Original Message - > On Fri, Sep 9, 2011 at 4:55 PM, R.I.Pienaar wrote: > > > > > > - Original Message - > >> On Fri, Sep 9, 2011 at 4:50 PM, R.I.Pienaar wrote: > >> > > >> > > >> > - Original Message -

Re: [Puppet Users] Facter variable $puppetversion

2011-09-09 Thread R.I.Pienaar
- Original Message - > On Fri, Sep 9, 2011 at 5:18 PM, Eric Shamow > wrote: > > Notify is a resource, notice() is a function. So notice() is > > evaluated on the server, whereas notify{} is evaluated on the > > client. > > > > My suspicion is that you somehow have two versions of the cli

Re: [Puppet Users] Re: Facter variable $puppetversion

2011-09-13 Thread R.I.Pienaar
/ -name "*puppet*" -exec rm -rf {} \; > > And then reinstalled puppet and facter, cleaned the certs etc, and > restarted puppet. > > Problem persists... maybe these rogue files didnt come from rpm? then it wouldnt know to remove them. Given how much time has been spent on th

Re: [Puppet Users] Software inventory

2011-09-21 Thread R.I.Pienaar
- Original Message - > its also pretty easy to programatically access the information, which > could make parsing it easier: > > >require 'puppet' > >Puppet::Type.type(:package).instances the puppetral mcollective agent does something similar in a generic fashion so you can just query t

Re: [Puppet Users] run puppet service type with specific user

2011-09-24 Thread R.I.Pienaar
- Original Message - > Hi, > > > is it possible to use the service resource type with a specific user > ? > So that the service is started with that given user instead of the > puppet user starting it... puppet runs as root, your rc script should do the right thing and run the service

Re: [Puppet Users] run puppet service type with specific user

2011-09-24 Thread R.I.Pienaar
- Original Message - > Thanks for the reply. > > > I modified the rc script to run as a user. > But now I'm facing the following problem: > I have to include some nasty puppet code for adding the service > before i can use the service resource type. > And the service resource type retur

Re: [Puppet Users] issues with puppet service and mco puppetd

2011-09-26 Thread R.I.Pienaar
- Original Message - > Ok so we are running puppet agent via cron jobs and have the puppet > agent set to the following: >service { "pe-puppet-agent": > enable => false, > ensure => stopped, > hasstatus => true, > hasrestart => true, > } > so i need to g

Re: [Puppet Users] Re: issues with puppet service and mco puppetd

2011-09-27 Thread R.I.Pienaar
- Original Message - > OK so you will have to for give me here. I am not sure what RC > means, but is what you're saying is that the PE version puppet is likely > causing the issue? the script in /etc/init.d (or your OS equivelant) that starts puppet and is used to check it's status. i

Re: [Puppet Users] Re: issues with puppet service and mco puppetd

2011-09-27 Thread R.I.Pienaar
- Original Message - > OK here is my output for the different commands with "puppet agent -- > test" running: > > # service pe-puppet-agent status > * could not access PID file for agent > > # service --status-all | grep puppet > [ - ] pe-puppet-agent > > # ps aux | grep puppet > /opt/

Re: [Puppet Users] Foreach loop?

2011-09-29 Thread R.I.Pienaar
- Original Message - > Hi all, > > One of my facter variables returns an array of disks presently > connected > to the system. I want to have something in my manifest that loops > around > the array and adds a Nagios check for each disk. > > In perlish pseudocode, I imagine something li

Re: [Puppet Users] Dealing with sensitive data

2011-10-03 Thread R.I.Pienaar
- Original Message - > Sure, but that doesn't really address the issue (at least not > out-of-box). Hiera puts your data outside your manifests, but at > least in our case it's still in revision control. Are you putting > your Hiera data elsewhere? If so, how do you control access to it?

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread R.I.Pienaar
rms.com . Please notify us > by reply message if this link does not work. > > ** > > > > > > > > -- > You received this message because you are subscribed to the Google > Groups &quo

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread R.I.Pienaar
- Original Message - > > > How do I resolve or troubleshoot this issue? I am running puppet > 2.6:9 on red hat 5:6 with the following packages: > > rubygem-hiera-0:2:0-1 > rubygem-hiera-puppet-0.2.0-1 I dont believe the hiera_include() function has been released as a gem yet, you'll n

Re: [Puppet Users] RFC: Being able to exclude resources from reporting.

2011-10-05 Thread R.I.Pienaar
- Original Message - > So, my essential point is that if that file did change – and it > genuinely did – we should report that back, and provide better tools > to filter it on the server side. The advantage of filtering on the > client rather than the server is minimal, given we compress

  1   2   3   4   5   6   7   >