[Puppet Users] Making a system user member of a Puppet managed group

2012-01-03 Thread Gonzalo Servat
Hi All, I have a particular requirement where a Puppet managed group needs to have several members that are either local and not managed by Puppet (e.g. mysql) or they reside in LDAP. Apart from running an exec call to "groupmems", is there another way to achieve this? Thanks in advance. Gonzalo

Re: [Puppet Users] Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)

2012-01-03 Thread Russell Van Tassell
On Tue, Jan 3, 2012 at 4:30 PM, Daniel Pittman wrote: > On Tue, Jan 3, 2012 at 16:01, Russell Van Tassell > wrote: > > > For completeness sake, the subsequent error (with trace) is thus... I > think > > at this point, I'm likely stuck -- at least short of wiping the DB and > > starting over, fres

Re: [Puppet Users] Re: puppetlabs firewall module

2012-01-03 Thread Grant Byers
On 4 January 2012 07:33, bel wrote: > I'd reverse my stages if I were you. Seems like that will fix it. > > On Dec 27 2011, 11:02 am, Jure Pečar wrote: > > On Tue, 27 Dec 2011 04:32:03 -0800 (PST) > > > > bel wrote: > > > You could use stages as described in documentation: > > > > >http://forge

Re: [Puppet Users] Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)

2012-01-03 Thread Daniel Pittman
On Tue, Jan 3, 2012 at 16:01, Russell Van Tassell wrote: > For completeness sake, the subsequent error (with trace) is thus... I think > at this point, I'm likely stuck -- at least short of wiping the DB and > starting over, fresh (which I'd prefer to not do). Both of those look like MySQL level

Re: [Puppet Users] Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)

2012-01-03 Thread Russell Van Tassell
For completeness sake, the subsequent error (with trace) is thus... I think at this point, I'm likely stuck -- at least short of wiping the DB and starting over, fresh (which I'd prefer to not do). -- begin -- execute("ALTER TABLE reports ADD CONSTRAINT fk_reports_node_id FOREIGN KEY (node_id) R

Re: [Puppet Users] Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)

2012-01-03 Thread Russell Van Tassell
On Tue, Jan 3, 2012 at 2:58 PM, Daniel Pittman wrote: > On Tue, Jan 3, 2012 at 14:52, Russell Van Tassell > wrote: > > > Mysql::Error: The total number of locks exceeds the lock table size: > ALTER > > TABLE resource_events ADD CONSTRAINT > fk_resource_events_resource_status_id > > FOREIGN KEY (r

Re: [Puppet Users] Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)

2012-01-03 Thread Daniel Pittman
On Tue, Jan 3, 2012 at 14:52, Russell Van Tassell wrote: > An error I managed to hit today, trying to migrate puppet dashboard from > 1.2.2 to 1.2.4 (after upgrading the master to puppet 2.7.9 seemed to prevent > the dashboard from importing new reports).  I'm trying to re-run it now, but > as you

[Puppet Users] Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)

2012-01-03 Thread Russell Van Tassell
An error I managed to hit today, trying to migrate puppet dashboard from 1.2.2 to 1.2.4 (after upgrading the master to puppet 2.7.9 seemed to prevent the dashboard from importing new reports). I'm trying to re-run it now, but as you might guess, the DB is pretty huge and the process takes a while

[Puppet Users] Re: puppetlabs firewall module

2012-01-03 Thread bel
I'd reverse my stages if I were you. Seems like that will fix it. On Dec 27 2011, 11:02 am, Jure Pečar wrote: > On Tue, 27 Dec 2011 04:32:03 -0800 (PST) > > bel wrote: > > You could use stages as described in documentation: > > >http://forge.puppetlabs.com/puppetlabs/firewall > > Now I've implem

[Puppet Users] Changing of the guard: Puppet Labs Open Source team changes...

2012-01-03 Thread Daniel Pittman
G'day. A little over six months ago Jacob Helwig posted about the formation of the Puppet Labs "open source" team, focused on the needs of the community and on making the FOSS version of Puppet completely awesome. Since then he has led that team to great success, and significantly improved our pr

Re: [Puppet Users] Puppet & symlink

2012-01-03 Thread Daniel Pittman
On Fri, Dec 30, 2011 at 08:32, Len Rugen wrote: > We have a case where we've been requested to create an extra symlink.  The > system provides libsomething.so.0.vv.rr and a symlink of libsomething.so.0. > We need create a symlink libsomething.so (without the .0).  I'm afraid > maintenance may chan

Re: [Puppet Users] External nodes in different dirs.

2012-01-03 Thread Daniel Pittman
On Sat, Dec 31, 2011 at 00:01, Douglas Garstang wrote: > On Fri, Dec 30, 2011 at 1:58 PM, Aaron Grewell > wrote: >> Well isn't that handy! > > Yeah that's great except that these YAML files are littered with > Ruby objects which makes them pretty much impossible to reach with any > other pro

[Puppet Users] Puppet Inventory Service

2012-01-03 Thread Christopher Johnston
I have multiple masters (40+) that reside in remote locations, I want to have them send puppet inventory data to a central inventory with mysql. Once the data is there I would like puppet dashboard installation use that data. I have not been able to get the remote masters to send their data back t

Re: [Puppet Users] AWS Elastic Beanstalk & Puppet

2012-01-03 Thread Brian Gupta
On Tue, Jan 3, 2012 at 10:14 AM, Ryan Chan wrote: > Anyone have experience and willing to share for Beanstalk? > > e.g. > > How does Puppet fit in when we mainly use AWS Elastic Beanstalk? > > Seems most features are provided by Beanstalk. > > -- > You received this message because you are subscr

[Puppet Users] AWS Elastic Beanstalk & Puppet

2012-01-03 Thread Ryan Chan
Anyone have experience and willing to share for Beanstalk? e.g. How does Puppet fit in when we mainly use AWS Elastic Beanstalk? Seems most features are provided by Beanstalk. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gr

[Puppet Users] Re: How are people regression testing their code for variable scoping?

2012-01-03 Thread Trevor Vaughan
Any takers? On Wed, Dec 28, 2011 at 9:19 AM, Trevor Vaughan wrote: > I think I've found all of the cases, but I'd like a definitive way to > be sure without trying to call every piece of code that I've written. > > Thanks, > > Trevor > > -- > Trevor Vaughan > Vice President, Onyx Point, Inc > (41

Re: [Puppet Users] Re: New variable scoping question regarding defines calling defines.

2012-01-03 Thread Trevor Vaughan
Oh, I'm completely happy with the new scoping scheme and have worked around any issues. I just think that this should be a failure case since it is currently (and probably has always been) something that shouldn't be done but happened to previously work. Trevor On Tue, Jan 3, 2012 at 10:12 AM, j

[Puppet Users] Puppet-rspec suggestions

2012-01-03 Thread Alessandro Franceschi
Good afternoon all, I've played a bit with rspec puppet lately trying to use it in a sane way, checking if the module's logic is correctly applied rather than if Puppet does what it's supposed to do. But I'm really new to rspec and might miss some important points. My efforts are for the moment

Re: [Puppet Users] Get master manifests and plugins from agents

2012-01-03 Thread Felix Frank
Hi, On 12/26/2011 09:22 AM, Andrey Yakovlev wrote: > If I turn on caching, the ins and manifestos are cached on the agent > and I have just following question the plugins are indeed cached. It should be simple to "steal" them and deploy them from a master of your own. As for the manifests, those

Re: [Puppet Users] Trying to run a testbed on a new VM

2012-01-03 Thread Felix Frank
Hi, On 12/24/2011 04:34 AM, Dan White wrote: > import "modules" > import "nodes/*.pp" are these statements in site.pp or anywhere else? Is nodes.pp in manifest/nodes/nodes.pp? Have you tried importing that very file instead of *.pp? As an aside, I'm not sure what 'import "modules"' is supposed

Re: [Puppet Users] Puppetserver error

2012-01-03 Thread Mohammad Khan
I have checked the time it is fine on both client and server, but still the error is occurring. On Fri, Dec 30, 2011 at 3:56 PM, Florian Koch < florian.koch1...@googlemail.com> wrote: > Hi, Maybe a Time related Problem? Check the Time on both, Client and Server > > > > > Am 30.12.2011 um 18:55 sc

[Puppet Users] Re: New variable scoping question regarding defines calling defines.

2012-01-03 Thread jcbollinger
On Dec 26 2011, 7:56 am, Trevor Vaughan wrote: > I just ran into an interesting scenario where I didn't know how to > scope my variables and I'd just like to share for the crowd. > > Suppose you have two modules 'foo' and 'bar'. You also have two > defines, 'foo::do_stuff' and 'bar::more_stuff'.

[Puppet Users] Re: What is the offical variable scope best practice?

2012-01-03 Thread jcbollinger
On Dec 22 2011, 8:59 am, Walter Heck wrote: > Just to make sure I fully understand this subject, could some provide a > little meta-example of what node variables and dynamic scoping are? I'm > sure I'm not the only one unsure here :) Sorry for the delay, I was out of touch over the holiday.

Re: [Puppet Users] Infiniband and Puppet - Strange Messages

2012-01-03 Thread Billy The Chip
Hi, On Tue, Jan 3, 2012 at 5:47 AM, Nigel Kersten wrote: > This is actually in Facter. > > Can you bug report here please? > > http://projects.puppetlabs.com/projects/facter/issues > > I just found that there already is a related bug report: http://projects.puppetlabs.com/issues/1415 Gerald If

Re: [Puppet Users] puppet kick problem: host is already running

2012-01-03 Thread Pavel Weber
Hi Jo, Thanks a lot for prompt reply. Exactly the problem is the kernel 2.6.18-274.12.1.el5. Very annoying. best regards, Pavel On 01/02/2012 07:46 PM, Jo Rhett wrote: Check your kernel and compare against this bug: https://projects.puppetlabs.com/issues/10418 * * It sounds to me like your