Re: [Puppet Users] Is there a quick way to export a manifest from a master/client to a new standalone?

2012-05-21 Thread James Glenn
On Mon, May 21, 2012 at 8:16 PM, Ryan Coleman wrote: > Hi James, > > On Mon, May 21, 2012 at 3:02 PM, thedonkdonk wrote: >> I have a large puppet master / client setup with lots of files and >> templates and modules and so on. Is there a way to make a stand alone >> manifest for one server so I c

Re: [Puppet Users] Is there a quick way to export a manifest from a master/client to a new standalone?

2012-05-21 Thread Ryan Coleman
Hi James, On Mon, May 21, 2012 at 3:02 PM, thedonkdonk wrote: > I have a large puppet master / client setup with lots of files and > templates and modules and so on. Is there a way to make a stand alone > manifest for one server so I can hand it to a third party? If you mean to take the resultan

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-21 Thread Jeff McCune
On Mon, May 21, 2012 at 1:24 AM, Luke Bigum wrote: > I agree with Gary, Dan, it's probably the lack of data in the > 'v_ingroups' key in your YAML that create_resources() is complaining about. > If it truly can't pass an empty key/val pair you could do something hacky > like use the string "unde

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Daniel Pittman
On Mon, May 21, 2012 at 12:33 PM, Deepak Giridharagopal wrote: > On Mon, May 21, 2012 at 11:02 AM, Marc Zampetti > wrote: > >> Right now, I can say that due to these types of issues, I cannot even >> evaluate PuppetDB, and will not be able to for the foreseeable future. > > How many hosts do you

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Alessandro Franceschi
If I can add my coins to the discussion I'd say that installing and running PostgreSQL is really easy (I actually really never used it before and have been "forced" by PuppetDB) and, even if I don't feel myself at ease with it too, I don't think it is going to be a real pain to mantain. But, mo

[Puppet Users] Announce: Puppet Dashboard 1.2.8 Available

2012-05-21 Thread Moses Mendoza
This is a maintenance release of Puppet Dashboard. It includes contributions from Daniel Sauble, Danijel Ilisin, Patrick Carlisle, and Max Martin. This release is available for download at: https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.8.tar.gz Debian packages are available at h

[Puppet Users] Is there a quick way to export a manifest from a master/client to a new standalone?

2012-05-21 Thread thedonkdonk
I have a large puppet master / client setup with lots of files and templates and modules and so on. Is there a way to make a stand alone manifest for one server so I can hand it to a third party? For example, I have www03.example.com as one of many servers. I need to create a manifest for that one

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Deepak Giridharagopal
On Mon, May 21, 2012 at 2:04 PM, Marc Zampetti wrote: > > > On Mon May 21 15:33:44 2012, Deepak Giridharagopal wrote: > >> On Mon, May 21, 2012 at 11:02 AM, Marc Zampetti >> > > >> wrote: >> >>Is Puppet Labs saying they are ending support of MySQL and instead

[Puppet Users] modifying file(s) on the fly

2012-05-21 Thread Sans
Dear all, I'm trying to figure out how to do this - first copy a "common" file to every node and then modify the file according to the node type. I've tried this: if $node_type == 'wn' { > $port = '8649' > $desc = 'Worker Nodes' > } > > exec { > 'n_desc': > comm

Re: [Puppet Users] Looking for a path into the innards of the Puppet Firewall Module @ The Forge

2012-05-21 Thread Ashley Penney
I recently submitted a pull request for a fairly basic feature. I started out by editing spec/fixtures/iptables/conversion_hash.rb and spec/unit/puppet/type/firewall_spec.rb to add in tests for what I wanted then worked backwards from there by copying existing code, modifying it a bit and running

[Puppet Users] Looking for a path into the innards of the Puppet Firewall Module @ The Forge

2012-05-21 Thread Dan White
For a few reasons: There is a missing bit of functionality that is important to me. I know WHAT I want to fox, but I do not know HOW. Also, if I am understanding how this module operates, I have ideas for other modules that use the same base methods. So, I am looking for either the folks that w

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Marc Zampetti
On Mon May 21 15:33:44 2012, Deepak Giridharagopal wrote: On Mon, May 21, 2012 at 11:02 AM, Marc Zampetti mailto:marc.zampe...@gmail.com>> wrote: Is Puppet Labs saying they are ending support of MySQL and instead will only support PostgreSQL? That is going to be a big problems for

Re: [Puppet Users] Managing Users over multiple servers

2012-05-21 Thread lth
LDAP is something we've been considering and will probably be implementing that sooner than later. However while that takes care of the 100s of regular web users, we still don't think we want our 8-10 system administrators to be doing that. So we're still have the problem of trying to get pup

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Deepak Giridharagopal
On Mon, May 21, 2012 at 11:02 AM, Marc Zampetti wrote: > Is Puppet Labs saying they are ending support of MySQL and instead will > only support PostgreSQL? That is going to be a big problems for shops that > do not support PostgresSQL, or are only allowed to run DB systems on an > approved list. >

Re: [Puppet Users] linting manifests with long lines

2012-05-21 Thread Nan Liu
On Mon, May 21, 2012 at 11:55 AM, Tim Mooney wrote: > > All- > > I've been working through our local manifests with puppet-lint, trying > to make certain we're as prepared as possible for puppet 3.x.  I would > like for our manifests to be warning-free.  The class of warnings > related to long lin

Re: [Puppet Users] Managing Users over multiple servers

2012-05-21 Thread Trevor Vaughan
This is not something that you generallyl want to do with Puppet since Puppet is better utilized for 'consistency over time' applications (with some exceptions). A tool, such as LDAP or Kerberos will probably serve your purposes much better over time. Trevor On Mon, May 21, 2012 at 3:08 PM, lth

[Puppet Users] Managing Users over multiple servers

2012-05-21 Thread lth
We have several webservers that we are going to manage with puppet. We want to make sure the users are the same on all of them. My plan was to create a separate manifest for each user within a users module. However if someone changes their password one one server how do we make sure that pu

[Puppet Users] linting manifests with long lines

2012-05-21 Thread Tim Mooney
All- I've been working through our local manifests with puppet-lint, trying to make certain we're as prepared as possible for puppet 3.x. I would like for our manifests to be warning-free. The class of warnings related to long lines has me questioning what the best practice is to avoid lines l

[Puppet Users] Domain is sometimes wrong on Windows

2012-05-21 Thread Josh Cooper
Hello, There is a Facter bug affecting Puppet 2.7 and Puppet Enterprise 2.5 on Windows[1]. The bug causes Facter to report different values for a hosts' domain, and therefore fqdn, at different times. This, in turn, affects certificates and the node name. We have already fixed this in Facter 2.0,

Re: [Puppet Users] Re: can puppet replace NIS?

2012-05-21 Thread Conrad Landicho
Hi guys -- Thanks all for your feedback. Yes, I was actually thinking about user / group management aspect in NIS-to-puppet migration. It looks like LDAP is a more appropriate tool for this. Thanks again, and regards . -Conrad On Mon, May 21, 2012 at 6:05 AM, jcbollinger wrote: > > > On

[Puppet Users] Re: Puppet Module

2012-05-21 Thread Napo Mokoetle
Had same errors when running "bundle install" during Openstack install too. Adding the caps as in HTTP_PROXY to the environment variables also helped. Thanks you for the helpful link. On Thursday, April 12, 2012 8:16:38 AM UTC+2, niraj wrote: > > Hi All, > I am getting the following err whi

Re: [Puppet Users] puppetdb build fails on OpenSUSE systems with undefined method

2012-05-21 Thread Darin Perusich
Hi Deepak, On Mon, May 21, 2012 at 12:28 PM, Deepak Giridharagopal wrote: > Hi Darin, > > On Mon, May 21, 2012 at 9:39 AM, Darin Perusich wrote: >> >> Hello All, >> >> I'm attempting to build puppetdb on opensuse it's failing with the >> error "undefined method `downcase' for nil:NilClass". The

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Marc Zampetti
Is Puppet Labs saying they are ending support of MySQL and instead will only support PostgreSQL? That is going to be a big problems for shops that do not support PostgresSQL, or are only allowed to run DB systems on an approved list. Why wouldn't a DB-agnostic model be used? Right now, I can s

Re: [Puppet Users] Puppet master file serve

2012-05-21 Thread David Campos
To solve this I changed the way that I used to retrieve artifacts. Since now, server is the one that executes the functions and it is the function the one that download files from network I did automount a folder (at puppet libdir) that would be the one that stores all files and serves them to

Re: [Puppet Users] Announce: Puppet 3.0.0rc1 Available

2012-05-21 Thread Matthaus Litteken
Erik, Thanks for catching that. I'm adding the missing packages now. -matthaus On Mon, May 21, 2012 at 8:26 AM, Erik Dalén wrote: > On 21 May 2012 17:20, Erik Dalén wrote: >> On 18 May 2012 08:36, Matthaus Litteken wrote:> >> *snip* >>> >>> Debs are available at http://apt.puppetlabs.com >>> >

Re: [Puppet Users] puppetdb build fails on OpenSUSE systems with undefined method

2012-05-21 Thread Deepak Giridharagopal
Hi Darin, On Mon, May 21, 2012 at 9:39 AM, Darin Perusich wrote: > Hello All, > > I'm attempting to build puppetdb on opensuse it's failing with the > error "undefined method `downcase' for nil:NilClass". The Rakefile is > setting @plibdir based on "osfamily = > Facter.value(:osfamily).downcase"

Re: [Puppet Users] Custom type, autoinclude

2012-05-21 Thread Stefan Schulte
On Sun, May 20, 2012 at 01:17:57PM +0200, Markus Falb wrote: > Hi, > I was thinking about a conceptual thing and I will try to explain with a > concrete example. > > In the puppetlabs-lvm module > there is code like this in the logical_volume provider > > if mount( '-f', '--guess-fstype', path) =

[Puppet Users] puppetdb build fails on OpenSUSE systems with undefined method

2012-05-21 Thread Darin Perusich
Hello All, I'm attempting to build puppetdb on opensuse it's failing with the error "undefined method `downcase' for nil:NilClass". The Rakefile is setting @plibdir based on "osfamily = Facter.value(:osfamily).downcase" and osfamily is not a fact on OpenSUSE/SUSE systems. How should I work around

Re: [Puppet Users] Announce: Puppet 3.0.0rc1 Available

2012-05-21 Thread Erik Dalén
On 21 May 2012 17:20, Erik Dalén wrote: > On 18 May 2012 08:36, Matthaus Litteken wrote:> > *snip* >> >> Debs are available at http://apt.puppetlabs.com >> > *snip* > > Are the deb packages supposed to be just one package for all > components for 3.0 onwards? > And is the puppetdb-teminus package

Re: [Puppet Users] Announce: Puppet 3.0.0rc1 Available

2012-05-21 Thread Erik Dalén
On 18 May 2012 08:36, Matthaus Litteken wrote:> *snip* > > Debs are available at http://apt.puppetlabs.com > *snip* Are the deb packages supposed to be just one package for all components for 3.0 onwards? And is the puppetdb-teminus package needed for puppet 3.0? ATM puppetdb-terminus depends on

[Puppet Users] Re: Custom type, autoinclude

2012-05-21 Thread jcbollinger
On May 20, 6:17 am, Markus Falb wrote: > Hi, > I was thinking about a conceptual thing and I will try to explain with a > concrete example. > > In the puppetlabs-lvm module > there is code like this in the logical_volume provider > > if mount( '-f', '--guess-fstype', path) =~ /ext[34]/ >   resiz

[Puppet Users] Re: CA error

2012-05-21 Thread jcbollinger
On May 20, 11:53 pm, shanghainese wrote: > I have a problem bother me for few days. > I install puppet on three nodes which consist of the the same kind of > parts. One is used as puppet server and rest two are used as puppet > clients. Also, I Synchronized the date before I installed puppet. >

[Puppet Users] Re: can puppet replace NIS?

2012-05-21 Thread jcbollinger
On May 19, 6:51 pm, ConradL wrote: > Does anyone out there have experienced replacing NIS, using puppet? > If so, can you kindly share to me some advise, gotchas, and whatnot, > etc... Puppet cannot directly replace NIS, as it doesn't operate in the same space. I suppose you're thinking of usi

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Erik Dalén
On 19 May 2012 01:44, Deepak Giridharagopal wrote: > On Fri, May 18, 2012 at 7:48 AM, Philip Brown wrote: >> >> >> >> On Friday, May 18, 2012 7:21:26 AM UTC-7, Michael Stanhke wrote: >>> >>> PuppetDB, a component of the Puppet Data Library, is a centralized >>> storage >>> daemon for auto-generat

[Puppet Users] Re: Look for existing Facter Modules for retrieving some system description information

2012-05-21 Thread Krzysztof Wilczynski
Hi, On Monday, May 21, 2012 8:31:48 AM UTC+1, Christophe L wrote: > > Hello, > > I have not been able to find existing Facter modules for retrieving > the information I listed below. > > Could you point me on some modules which would anwer my needs please ? > > Below the list of information I

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-21 Thread Luke Bigum
I agree with Gary, Dan, it's probably the lack of data in the 'v_ingroups' key in your YAML that create_resources() is complaining about. If it truly can't pass an empty key/val pair you could do something hacky like use the string "undef" then explicitly check for it in the define. define ad

Re: [Puppet Users] Hiera Questions: An array of :datadir: ?

2012-05-21 Thread Luke Bigum
On 18/05/12 14:00, Dan White wrote: Thanks for responding, Luke. This looks like a useful expansion of the hiera back-end, but as I am still fairly new to Puppet (and Python and Ruby for that matter), I think I will wait for this to be formally accepted and incorporated before trying it myself

[Puppet Users] Re: Is there a way to limit the number of agents that can run concurrently?

2012-05-21 Thread Karim
Thanks a bunch. Seems like I have some research to do :-) On May 19, 4:22 pm, Vlad wrote: > For a similar scenario I use mcollective > with puppetd > agent > and > puppet

[Puppet Users] Look for existing Facter Modules for retrieving some system description information

2012-05-21 Thread Christophe L
Hello, I have not been able to find existing Facter modules for retrieving the information I listed below. Could you point me on some modules which would anwer my needs please ? Below the list of information I would need to retrieve. Thanks in advance for your help. Best regards, Christophe 1