[Puppet Users] Puppet 2.6 on Solaris

2011-01-31 Thread David Schmitt
Hi all, I'm looking for current puppet packages for Solaris and found only blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/, 0.25.4) and Gary Law's repo (http://garylaw.net/packages/, 0.25.1). Are there any current (2.6.x) packages for Solaris? http://projects.puppetlabs.

[Puppet Users] Puppet delegation / teams

2011-01-31 Thread Pieter Baele
I would like to delegate access to puppet to other teams in our company. It has to be possible for them to: - create new recipes - doing some sort of check if their recipes / templates work. How should I do this without giving other teams the ability to create havoc? -- You received this messag

[Puppet Users] Re: Puppet 2.6 on Solaris

2011-01-31 Thread John Lyman
Gems are always an option. On Jan 31, 4:06 am, David Schmitt wrote: > Hi all, > > I'm looking for current puppet packages for Solaris and found only > blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/, > 0.25.4) and Gary Law's repo (http://garylaw.net/packages/, 0.25.1). > >

Re: [Puppet Users] Re: Puppet 2.6 on Solaris

2011-01-31 Thread Brian Gallew
Interestingly enough, it's pretty easy to make a Solaris package. More than that, it may well be necessary that you do so since your package would depend on Ruby, which could be in one of several places, and your own organization's policies on where addons go might differ from someone else's. Als

Re: [Puppet Users] Puppet 2.6 on Solaris

2011-01-31 Thread Rudy Gevaert
On 01/31/2011 10:06 AM, David Schmitt wrote: Hi all, I'm looking for current puppet packages for Solaris and found only blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/, 0.25.4) and Gary Law's repo (http://garylaw.net/packages/, 0.25.1). Are there any current (2.6.x) pac

[Puppet Users] problem running puppet with passenger - no puppet session on passenger

2011-01-31 Thread Oren Marmor
hi. i installed puppet and passenger on a test server according to wiki pages with rpms. edited the config.ru and puppetmaster.conf files and passenger-status working but gives no active session of puppet: [root@ httpd]# passenger-status --- General information --- max = 12 co

[Puppet Users] Re: Run stage introduces dependency cycle

2011-01-31 Thread jcbollinger
On Jan 28, 4:51 pm, Dan Urist wrote: > On Fri, 28 Jan 2011 11:40:38 -0800 > > Nan Liu wrote: > > You can require disable_upstart class as a conditional by operating > > system and it should be part of your ssh module rather than a separate > > class. > > If I understand correctly, you mean I sh

[Puppet Users] accessing puppet config variables inside a manifest

2011-01-31 Thread Gabriel Filion
Hello, I'm currently using a module named "common" which is based off of David Schmitt's work. I'm having issues with it in OpenBSD, and the reason is that the directory created to contain module-specific files is hardcoded to /var/lib/pupppet/modules. Now, I could easily special-case the path f

Re: [Puppet Users] RE: each clients classes.txt on the server

2011-01-31 Thread Brian Gallew
It's a pretty trivial function: Facter.add(:cprt_classes) do setcode do open('/var/lib/puppet/state/classes.txt').read().split().join(',') rescue "" end end You'll want to change cprt_classes to match your naming scheme. 2 caveats: 1) If you have more than a handful of classes,

Re: [Puppet Users] Puppet delegation / teams

2011-01-31 Thread James Turnbull
Pieter Baele wrote: > I would like to delegate access to puppet to other teams in our company. > > It has to be possible for them to: > - create new recipes > - doing some sort of check if their recipes / templates work. > > How should I do this without giving other teams the ability to create ha

Re: [Puppet Users] Puppet delegation / teams

2011-01-31 Thread Daniel Pittman
On Jan 31, 2011 9:10 AM, "James Turnbull" wrote: > Pieter Baele wrote: > > I would like to delegate access to puppet to other teams in our company. > > > > It has to be possible for them to: > > - create new recipes > > - doing some sort of check if their recipes / templates work. > > > > How shou

Re: [Puppet Users] Run stages implicitly include classes, is this behavior intended?

2011-01-31 Thread Daniel Pittman
On Jan 30, 2011 8:19 AM, "Ben Lavender" wrote: > > So I am using a mix of old puppet and the Ruby DSL on a new project > (loving it, new as it is!). But I've run into some behavior that > surprised me. > > In my default node, (.pp), I have, among others, these lines: > > node "default" { > class

Re: [Puppet Users] Puppet delegation / teams

2011-01-31 Thread Nigel Kersten
On Mon, Jan 31, 2011 at 3:05 AM, Pieter Baele wrote: > I would like to delegate access to puppet to other teams in our company. > > It has to be possible for them to: > - create new recipes > - doing some sort of check if their recipes / templates work. > > How should I do this without giving othe

Re: [Puppet Users] problem running puppet with passenger - no puppet session on passenger

2011-01-31 Thread Ohad Levy
Passenger starts only when there are requests... when you connect from a client, what does your apache logs say? Ohad On Mon, Jan 31, 2011 at 6:41 PM, Oren Marmor wrote: > hi. > i installed puppet and passenger on a test server according to wiki > pages with rpms. > edited the config.ru and pup

Re: [Puppet Users] accessing puppet config variables inside a manifest

2011-01-31 Thread Nan Liu
On Mon, Jan 31, 2011 at 9:06 AM, Gabriel Filion wrote: > Hello, > > I'm currently using a module named "common" which is based off of David > Schmitt's work. > > I'm having issues with it in OpenBSD, and the reason is that the > directory created to contain module-specific files is hardcoded to >

Re: [Puppet Users] Re: puppetmaster 100%cpu usage on 2.6 (not on 0.24)

2011-01-31 Thread Udo Waechter
Hi. I am just reading this thread, and it strikes me that we have the same problems with 2.6.3. Since upgrading from 2.6.2 to .3 puppetmaster shows the behabiour described in this thread. We have about 160 clients, and puppetmaster (is now) 8 core, 8Gb RAM kvm instance. Had this with 4 cores a

Re: [Puppet Users] Re: puppetmaster 100%cpu usage on 2.6 (not on 0.24)

2011-01-31 Thread Nan Liu
On Mon, Jan 31, 2011 at 10:11 AM, Udo Waechter wrote: > Hi. > > I am just reading this thread, and it strikes me that we have the same > problems with 2.6.3. > > Since upgrading from 2.6.2 to .3 puppetmaster shows the behabiour described > in this thread. > We have about 160 clients, and puppetm

Re: [Puppet Users] Puppet 2.6 on Solaris

2011-01-31 Thread Nan Liu
On Mon, Jan 31, 2011 at 1:47 AM, Rudy Gevaert wrote: > On 01/31/2011 10:06 AM, David Schmitt wrote: >> >> Hi all, >> >> I'm looking for current puppet packages for Solaris and found only >> blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/, >> 0.25.4) and Gary Law's repo (htt

[Puppet Users] version number for modules

2011-01-31 Thread Christopher Lee
Hello, We are starting to get a lot of modules in our system. I am looking to add a version number to the modules when they are checked out of our revision control system and moved into each environment. Has anyone come up with a standard way/place to store the version number of the module?

[Puppet Users] Changing the run interval

2011-01-31 Thread rjl
Hi, Is it possible to set the runinterval for my clients on my puppetmaster? I have tried numerous things and the only one that seem to work is actually setting it in the puppet.conf file on each client. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Changing the run interval

2011-01-31 Thread Nigel Kersten
On Mon, Jan 31, 2011 at 12:03 PM, rjl wrote: > Hi, > Is it possible to set the runinterval for my clients on my > puppetmaster? I have tried numerous things and the only one that seem > to work is actually setting it in the puppet.conf file on each client. This is the primary use of templates tha

[Puppet Users] Re: Changing the run interval

2011-01-31 Thread rjl
That makes perfect sense. Thanks for response Nigel. On Jan 31, 1:32 pm, Nigel Kersten wrote: > On Mon, Jan 31, 2011 at 12:03 PM, rjl wrote: > > Hi, > > Is it possible to set the runinterval for my clients on my > > puppetmaster? I have tried numerous things and the only one that seem > > to wor

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-31 Thread Jason Wright
On Fri, Jan 28, 2011 at 12:17 AM, Brice Figureau wrote: > Yes, this is the patch I was talking about. I have great hopes it will > fix the filelock related stacktrace. It's been rolled out to our canary servers. The rest of the fleet will get it tomorrow, along with the debug patch that Daniel p

Re: [Puppet Users] version number for modules

2011-01-31 Thread Nan Liu
On Mon, Jan 31, 2011 at 11:45 AM, Christopher Lee wrote: > Hello, > > We are starting to get a lot of modules in our system.  I am looking to add a > version number to the modules when they are checked out of our revision > control system and moved into each environment.  Has anyone come up with

Re: [Puppet Users] Re: puppetmaster 100%cpu usage on 2.6 (not on 0.24)

2011-01-31 Thread Brice Figureau
On 31/01/11 19:11, Udo Waechter wrote: > Hi. > > I am just reading this thread, and it strikes me that we have the > same problems with 2.6.3. > > Since upgrading from 2.6.2 to .3 puppetmaster shows the behabiour > described in this thread. We have about 160 clients, and puppetmaster > (is now) 8

[Puppet Users] using return value of a shell command as a puppet conditional

2011-01-31 Thread Ashley Gould
Hi all, My first post. I am just getting started with puppet and have made good progress with some basics using templates and files. I would like to perform and an action based on whether or not a particular system binary executes successfully, but I don't see an obvious way to set puppet condit

Re: [Puppet Users] Re: puppetmaster 100%cpu usage on 2.6 (not on 0.24)

2011-01-31 Thread John Warburton
On 1 February 2011 08:43, Brice Figureau wrote: > On 31/01/11 19:11, Udo Waechter wrote: > > Do you use storeconfigs? > Speaking of resource hogs, do you run the puppet labs dashboard on the same host? I had a similar setup (on crusty old Sun kit mind), and found a big performance hit in writin

[Puppet Users] Stored configs - error

2011-01-31 Thread Matthew Ceroni
I have struggled with this issue for a long time without any resolution. This showed up in previous versions (0.25) and suggestions were to upgrade to the latest - currently running 2.6.3 on RHEL5. The errors I get are: Jan 31 14:46:07 ls1313p puppet-master[27438]: PGError: server closed the con

[Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-01-31 Thread cyrus
If I understand your question you want to use the exec resource and specify the onlyif (or unless) parameter. Sort of like: exec { "cp /tmp/file1 /data", path => [ "/bin" ], onlyif => "/usr/bin/my_harmless_binary"; } On Jan 31, 2:12 pm, Ashley Gould wrote: > Hi all, > > My first pos

[Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-01-31 Thread jcbollinger
On Jan 31, 3:12 pm, Ashley Gould wrote: > Hi all, > > My first post.  I am just getting started with puppet and have made > good progress with some basics using templates and files. > > I would like to perform and an action based on whether or not a > particular system binary executes successfull

Re: [Puppet Users] version number for modules

2011-01-31 Thread John Warburton
On 1 February 2011 08:05, Nan Liu wrote: > On Mon, Jan 31, 2011 at 11:45 AM, Christopher Lee > wrote: > > If you manage the entire puppet modules in a repository, you might > also be interested in the config_version option to log version info. > config_version has issues - especially with env

Re: [Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-01-31 Thread Ashley Gould
On Mon, Jan 31, 2011 at 02:14:29PM -0800, jcbollinger wrote: > > On Jan 31, 3:12 pm, Ashley Gould wrote: > > if [ "/usr/bin/my_harmless_binary 2>&1 >/dev/null" ]; then > >   echo "my_harmless_binary succeeded" > >   cp /tmp/file1 /data/ > > else > >   echo "my_harmless_binary FAILED" > > fi > >

Re: [Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-01-31 Thread Daniel Pittman
On Mon, Jan 31, 2011 at 15:31, Ashley Gould wrote: > On Mon, Jan 31, 2011 at 02:14:29PM -0800, jcbollinger wrote: >> On Jan 31, 3:12 pm, Ashley Gould wrote: >> >> > if [ "/usr/bin/my_harmless_binary 2>&1 >/dev/null" ]; then >> >   echo "my_harmless_binary succeeded" >> >   cp /tmp/file1 /data/ >>

Re: [Puppet Users] Puppet delegation / teams

2011-01-31 Thread John Warburton
On 1 February 2011 04:29, Nigel Kersten wrote: In any case it sounds like you want some pre-commit hooks to run > --parseonly on the manifests to check they parse, and you're going to > want to split up the modulepaths such that different groups have > different permissions. > parseonly hasn't b

[Puppet Users] Anyone using config_version successfully?

2011-01-31 Thread John Warburton
I have tried to use config_version and failed due to limitations in the way I would like to use it: - http://projects.puppetlabs.com/issues/3692 - http://projects.puppetlabs.com/issues/4845 - http://projects.puppetlabs.com/issues/5404 As part of http://projects.puppetlabs.com/issues/3692, we'd lik

[Puppet Users] Joining Puppet Labs Redmine projects

2011-01-31 Thread James Turnbull
Hi all We've just enabled a Redmine plug-in that lets you automatically join Puppet Labs Redmine projects. Joining a project gives you more control over tickets you log, the ability to watch tickets and makes it easier to keep informed about your tickets. To join a project click on the "Join Thi

Re: [Puppet Users] Joining Puppet Labs Redmine projects

2011-01-31 Thread Mark Stanislav
Hi James, Does this include 'sub-projects'? Directly referring to http://projects.puppetlabs.com/projects/mcollective-plugins ; in this case I see no link but am not listed yet. Just wondering if this is by design or not. Thanks! -Mark On Jan 31, 2011, at 7:58 PM, James Turnbull wrote: > Hi

Re: [Puppet Users] apache frontend not running puppetmaster.

2011-01-31 Thread Jeff McCune
On Fri, Jan 28, 2011 at 4:00 PM, trey85stang wrote: > Hey All,  does anyone know how I would go about creating a front-end > apache config for a set of 3 puppetmaster backend servers?  Id rather > not run puppetmaster on the apache front-end. > > How do I handle the clients? I recommend configuri

Re: [Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-01-31 Thread Ashley Gould
> > thank you both. my current task will use a file action. I'm trying > > to make puppet chose between alturnative versions of a file based on > > the result of a binary. > > > > I will work on the custom fact idea.  if such an issue is coming at > > me so early in the game, then I may as well get

Re: [Puppet Users] Re: using return value of a shell command as a puppet conditional

2011-01-31 Thread Daniel Pittman
On Mon, Jan 31, 2011 at 18:14, Ashley Gould wrote: >> > thank you both. my current task will use a file action. I'm trying >> > to make puppet chose between alturnative versions of a file based on >> > the result of a binary. [...] > You caught me.  I'm a recoveing cfengine junky.  It will take

Re: [Puppet Users] Joining Puppet Labs Redmine projects

2011-01-31 Thread James Turnbull
Mark Stanislav wrote: > Hi James, > > Does this include 'sub-projects'? Directly referring to > http://projects.puppetlabs.com/projects/mcollective-plugins ; in this case I > see no link but am not listed yet. > > Just wondering if this is by design or not. Thanks! > Mark I just haven't got