Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Matthew Macdonald-Wallace
On Fri, 2010-10-22 at 08:54 -0700, Nigel Kersten wrote: > > > On Fri, Oct 22, 2010 at 8:41 AM, Matt Wallace > wrote: > Hi all, > > We're writing a few scripts at the moment that could really > make use of > Facter, however the vast majority of them team (

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Matthew Macdonald-Wallace
On Fri, 2010-10-22 at 12:22 -0400, Darren Chamberlain wrote: > * Richard Crowley [2010/10/22 08:57]: > > > We're writing a few scripts at the moment that could really make > > > use of Facter, however the vast majority of them team (including > > > my self!) are not proficient in Ruby, however the

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Yushu Yao
Any reason you can't use facter the command line? E.g. call in python commands.getstatusoutput("facter") On Oct 24, 2010, at 12:41 AM, Matthew Macdonald-Wallace wrote: > On Fri, 2010-10-22 at 08:54 -0700, Nigel Kersten wrote: >> >> >> On Fri, Oct 22, 2010 at 8:41 AM, Matt Wallace >> wrote: >

Re: [Puppet Users] Pulling in a Hash from an external data source?

2010-10-24 Thread Matthew Macdonald-Wallace
On Fri, 2010-10-22 at 14:57 -0700, Matt Wise wrote: > Agreed... I use extlookup for our external arrays — but I cannot use it for > hash's. Hashes are sometimes the only sane way to go, so I'm hoping to see > more advanced hash support soon. Really we have a case where we're going to > be pullin

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Matthew Macdonald-Wallace
On Sun, 2010-10-24 at 00:44 -0700, Yushu Yao wrote: > Any reason you can't use facter the command line? > E.g. call in python commands.getstatusoutput("facter") Because it's a dirty hack? ;) We've inherited a system where loads of stuff that could be done with shared libraries in various language

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Daniel Pittman
Matthew Macdonald-Wallace writes: > On Sun, 2010-10-24 at 00:44 -0700, Yushu Yao wrote: > >> Any reason you can't use facter the command line? >> E.g. call in python commands.getstatusoutput("facter") > > Because it's a dirty hack? ;) Internally facter does a lot of the same, FWIW. ;) I think wh

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Nigel Kersten
On Sun, Oct 24, 2010 at 5:23 AM, Daniel Pittman wrote: > Matthew Macdonald-Wallace writes: >> On Sun, 2010-10-24 at 00:44 -0700, Yushu Yao wrote: >> >>> Any reason you can't use facter the command line? >>> E.g. call in python commands.getstatusoutput("facter") >> >> Because it's a dirty hack? ;)

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Nigel Kersten
On Sun, Oct 24, 2010 at 9:44 AM, Nigel Kersten wrote: > On Sun, Oct 24, 2010 at 5:23 AM, Daniel Pittman > wrote: > > Matthew Macdonald-Wallace writes: > >> On Sun, 2010-10-24 at 00:44 -0700, Yushu Yao wrote: > >> > >>> Any reason you can't use facter the command line? > >>> E.g. call in python c

Re: [Puppet Users] "No source module metadata found"??

2010-10-24 Thread Nigel Kersten
On Wed, Oct 13, 2010 at 9:25 AM, Jon Charette wrote: > Trying to debug something simple that I'm sure I'm just missing. > > I create a module, mysql. Code is at http://www.pastie.org/1218470 > > I try to apply it and I get the following error: > > err: No source module metadata provided for mysql

Re: [Puppet Users] Recursion

2010-10-24 Thread Nigel Kersten
On Thu, Oct 14, 2010 at 6:48 PM, Jeff McCune wrote: > To save you some hassle in the future, I recommend not defining new > fileserver mount points and instead use a module to distribute the > files. > I wanted to reiterate this. I see a lot of people creating fileserver mount points, and it rea

Re: [Puppet Users] Puppet Application Server Deployment

2010-10-24 Thread Nigel Kersten
On Tue, Oct 19, 2010 at 2:12 PM, Scott Smith wrote: > I highly suggest you refrain from using Puppet to manage service-level > applications. What has led you to this viewpoint Scott? > > On Mon, Oct 18, 2010 at 1:19 AM, ajax wrote: > >> Hello all, >> >> I wanted to know can i deploy Applic

[Puppet Users] Helping us prioritize issues.

2010-10-24 Thread Nigel Kersten
I know James has emailed about this before, but we have a lot of issue prioritization to sort out in the very near future, so I wanted to make sure the community is aware of ways you can communicate your own priorities to us so we can take this into account. This does require that you have an acco

[Puppet Users] Re: Helping us prioritize issues.

2010-10-24 Thread Al @ Lab42
+1 ;-D On Oct 24, 8:41 pm, Nigel Kersten wrote: > I know James has emailed about this before, but we have a lot of issue > prioritization to sort out in the very near future, so I wanted to make sure > the community is aware of ways you can communicate your own priorities to us > so we can take

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-24 Thread Daniel Pittman
Nigel Kersten writes: > On Sun, Oct 24, 2010 at 5:23 AM, Daniel Pittman wrote: >> Matthew Macdonald-Wallace writes: >>> On Sun, 2010-10-24 at 00:44 -0700, Yushu Yao wrote: [...] >> I think what you probably want is 'facter --yaml', which emits the data in >> a format easily consumed by other a

Re: [Puppet Users] Helping us prioritize issues.

2010-10-24 Thread Daniel Pittman
Nigel Kersten writes: > I know James has emailed about this before, but we have a lot of issue > prioritization to sort out in the very near future, so I wanted to make sure > the community is aware of ways you can communicate your own priorities to us > so we can take this into account. > > This

Re: [Puppet Users] Helping us prioritize issues.

2010-10-24 Thread Nigel Kersten
On Sun, Oct 24, 2010 at 5:39 PM, Daniel Pittman wrote: > Nigel Kersten writes: > > > I know James has emailed about this before, but we have a lot of issue > > prioritization to sort out in the very near future, so I wanted to make > sure > > the community is aware of ways you can communicate yo

Re: [Puppet Users] Puppet Application Server Deployment

2010-10-24 Thread ajinkya prabhune
Hi, So what do u thing is good and better than Puppet ? thanks On Sun, Oct 24, 2010 at 8:23 PM, Nigel Kersten wrote: > > > On Tue, Oct 19, 2010 at 2:12 PM, Scott Smith wrote: > >> I highly suggest you refrain from using Puppet to manage service-level >> applications. > > > What has led you to