Re: [Puppet Users] how to conditionally add users to a virtualized group?

2012-07-16 Thread Felix Frank
John, On 07/13/2012 06:38 PM, jcbollinger wrote: I would tell hiera to have puppet include the mysql development class, not each single user and group. That would strike me as silly. Sure, but I'm not seeing how that relates. A more parallel situation would be if in addition,

Re: [Puppet Users] Re: puppet freezes on FUTEX_WAKE_PRIVATE

2012-07-16 Thread Thomas Sturm
Is this a relativly new issue for you? FUTEX_WAIT reminds me of the leap second kernelbug. If that's the case setting the time will fix the issue. http://serverfault.com/questions/407224/java-process-opends-consumes-all-cpu-futex-flood-how-to-debug-futex -Stefan No, we already

Re: [Puppet Users] Re: puppet freezes on FUTEX_WAKE_PRIVATE

2012-07-16 Thread Ernest Beinrohr
Same here, we have this issue from the beginning (~3m). I am now forced to restart the service every hour :( On Monday, July 16, 2012 9:56:15 AM UTC+2, Thomas Sturm wrote: Is this a relativly new issue for you? FUTEX_WAIT reminds me of the leap second kernelbug. If that's the case setting

Re: [Puppet Users] Re: The Puppet Way to handle slow resources? (newbie)

2012-07-16 Thread Dave Anderson
That sounds like a very elegant solution! I'm thinking that this pattern could be useful for others, not just me. I'll start a separate thread asking for a location to publish and critique recipes. /d -- This email and any files transmitted with it are confidential and intended solely for the

Re: [Puppet Users] execute a command if a package isn't installed, then install the package

2012-07-16 Thread Martin Alfke
Hi On 15.07.2012, at 00:30, Peter Bukowinski wrote: On Jul 14, 2012, at 5:19 PM, loki77 lok...@gmail.com wrote: Hi, I'm trying to install the 'unbound' dns resolver in ubuntu via puppet and I'm running into some issues. The issue isn't that the package doesn't install, but rather that apt

[Puppet Users] Puppet gets stuck + CRON

2012-07-16 Thread pierre-emmanuel degand
Hi, I use Cron to avoid puppet to get stuck with this command : /bin/echo | /bin/nc localhost 8139 But I get this error : /USR/SBIN/CRON[11065]: (CRON) error (grandchild #11068 failed with exit status 1) At the beginning, i launched : echo | nc localhost 8139, but I read that we have to put

[Puppet Users] empty() function in stdlib not functional?

2012-07-16 Thread Dave Lloyd
I'm using the empty function to test whether an array passed to my defined type is empty (it's a function to set up network interfaces and their routes if passed an array of routes). Unfortunately, I get this error when trying to use the empty() function: err: Could not retrieve catalog from

[Puppet Users] puppet configuration/startup problems

2012-07-16 Thread Yuri Medvinsky
Hi Has anyone seen this error message type before and know how to resolve it? I came across this message when trying to access puppet over its web interface. And when I try to run 'rake db:migrate' I get the following: # rake db:migrate rake aborted! No Rakefile found (looking for: rakefile,

[Puppet Users] Run the nodes in an orderly

2012-07-16 Thread Emmanuel Odorisio
Hi, I would like to run the nodes in order. If I have in my site.pp: node 'node1' { include class1 } node 'node2' { include class2 } The node2 must run when the node1 is complete (Finished catalog run) Is there any way to do this with puppet? Thank you! -- You received this message

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-16 Thread Kamil Winczek
On 12 Jul 12 08:54 -0700, llow...@oreillyauto.com wrote: Is there a way to get a list of all the classes available from the puppet master? I have 2 goals for this - one is documentation in a human readable form, and the other is potentially importing that data into dashboard. Hi, How

Re: [Puppet Users] Run the nodes in an orderly

2012-07-16 Thread Stephen Gran
Hello, On Fri, 2012-07-13 at 12:16 -0700, Emmanuel Odorisio wrote: Hi, I would like to run the nodes in order. If I have in my site.pp: node 'node1' { include class1 } node 'node2' { include class2 } The node2 must run when the node1 is complete (Finished catalog run) Is

[Puppet Users] Re: How to take away install privilege from users other than puppet?

2012-07-16 Thread jcbollinger
On Sunday, July 15, 2012 3:05:36 AM UTC-5, Ryan Bowlby wrote: That's not really a puppet question. Typically installation of software in normal (posix compliant) locations requires root privileges. Merely limiting the commands one is capable of executing via sudo would likely be enough.

[Puppet Users] Re: puppet configuration/startup problems

2012-07-16 Thread Yuri Medvinsky
Looks like I figured out what was wrong. The mysqld was not running. Once it was started up this message went away. On Friday, July 13, 2012 3:03:02 PM UTC-4, Yuri Medvinsky wrote: Hi Has anyone seen this error message type before and know how to resolve it? I came across this message

[Puppet Users] Hierachy for facts?

2012-07-16 Thread ZJE
We're working on prototpying facter+puppet for our environment and wondering what the generally accepted best-pratices are for handling hierarchical custom facts in facter. Right now, we're using underscores. For example, if I'm collecting infromation about the raid array, it would be

Re: [Puppet Users] how to conditionally add users to a virtualized group?

2012-07-16 Thread jcbollinger
Felix, On Monday, July 16, 2012 2:44:58 AM UTC-5, Felix.Frank wrote: John, On 07/13/2012 06:38 PM, jcbollinger wrote: I would tell hiera to have puppet include the mysql development class, not each single user and group. That would strike me as silly. Sure, but

[Puppet Users] stdlib empty() function not working?

2012-07-16 Thread Dave Lloyd
Running 2.7.14 both on the client and server. I've created a defined type for managing network interface IPs and static routes. The routes are passed in as an array of hashes. I used the empty() function to see if the array is empty before attempting to call another defined type to write out the

[Puppet Users] Can't create pdf from puppet doc

2012-07-16 Thread Giovanni Torres
I'm trying to use puppet doc to create a pdf version of my modules. According to the help file, `puppet doc -m pdf -r configuration` is the syntax to accomplish this. However, I keep getting this error: creating pdf Could not run: wrong number of arguments (1 for 2) I search elsewhere on the

[Puppet Users] Re: system users caching

2012-07-16 Thread jcbollinger
On Sunday, July 15, 2012 4:01:13 PM UTC-5, Thomas Bétrancourt wrote: Hi! On my servers, i'm using pam-ldap and cie. All the configuration of the system is done by puppet. After to the system installation, when i run puppet, in a first time, puppet sets up the ldap configuration and

[Puppet Users] Re: Can't create pdf from puppet doc

2012-07-16 Thread llow...@oreillyauto.com
On Monday, July 16, 2012 9:50:54 AM UTC-5, Giovanni Torres wrote: I'm trying to use puppet doc to create a pdf version of my modules. According to the help file, `puppet doc -m pdf -r configuration` is the syntax to accomplish this. However, I keep getting this error: creating pdf

Re: [Puppet Users] how to conditionally add users to a virtualized group?

2012-07-16 Thread Felix Frank
On 07/16/2012 04:14 PM, jcbollinger wrote: The fact that the approach doesn't work isn't sufficient? Until now, my focus has been on something that Jo could actually use, rather than on advocacy for new Puppet features. If you have a good way to make that approach work for Jo, with current

Re: [Puppet Users] stdlib empty() function not working?

2012-07-16 Thread Nan Liu
On Mon, Jul 16, 2012 at 7:46 AM, Dave Lloyd d...@davelloyd.com wrote: Running 2.7.14 both on the client and server. I've created a defined type for managing network interface IPs and static routes. The routes are passed in as an array of hashes. I used the empty() function to see if the array

Re: [Puppet Users] Re: system users caching

2012-07-16 Thread Nan Liu
On Mon, Jul 16, 2012 at 7:53 AM, jcbollinger john.bollin...@stjude.org wrote: On Sunday, July 15, 2012 4:01:13 PM UTC-5, Thomas Bétrancourt wrote: Hi! On my servers, i'm using pam-ldap and cie. All the configuration of the system is done by puppet. After to the system installation, when

Re: [Puppet Users] problems with puppetdb

2012-07-16 Thread Deepak Giridharagopal
On Sun, Jul 15, 2012 at 7:42 PM, Peter Brown rendhal...@gmail.com wrote: Hi everyone, I got the new version installed and am now having a strange issue. my puppetdb server seems to start but then dies after a few seconds with no logging that i can find. I tried setting the log level to

Re: [Puppet Users] stdlib empty() function not working?

2012-07-16 Thread Dave Lloyd
On Mon, Jul 16, 2012 at 10:56 AM, Nan Liu n...@puppetlabs.com wrote: empty() should be an rvalue function. In this case posting the empty() function would be more helpful than the puppet manifests. Nan It's the standard one shipped with stdlib:

Re: [Puppet Users] problems with puppetdb

2012-07-16 Thread Chris Price
Also, would you mind sharing a bit more info about your setup? I presume: * You are installing from the puppetlabs apt repos? * Your upgrade was from puppetdb 0.9.1 to 0.9.2? On Monday, July 16, 2012 9:36:40 AM UTC-7, Deepak Giridharagopal wrote: On Sun, Jul 15, 2012 at 7:42 PM, Peter Brown

Re: [Puppet Users] how to conditionally add users to a virtualized group?

2012-07-16 Thread Jo Rhett
On Jul 16, 2012, at 8:42 AM, Felix Frank wrote: I cannot, of course, but I do sympathize with Jo's notion that in order to solve the apparently small problem of making resource overrides scale, he is now required to rework most if not all of his manifests to play with a hiera based approach.

Re: [Puppet Users] system users caching

2012-07-16 Thread Jo Rhett
This is likely a factor of how unix works rather than puppet. When puppet starts up, it reads nsswitch.conf. If you modify nsswitch.conf during the puppet run, it will not see the changes until after the process has restarted and sees the new nsswitch.conf file. I have gotten around this by

Re: [Puppet Users] how to conditionally add users to a virtualized group?

2012-07-16 Thread Christopher Wood
(inline) On Mon, Jul 16, 2012 at 11:19:02AM -0700, Jo Rhett wrote: On Jul 16, 2012, at 8:42 AM, Felix Frank wrote: I cannot, of course, but I do sympathize with Jo's notion that in order to solve the apparently small problem of making resource overrides scale, he is now

Re: [Puppet Users] Re: State of Puppet 3.0 and our commitment to quality

2012-07-16 Thread Matthaus Litteken
David, The hiera 1.0 rc packages or the 0.3.0 gem will work with 2.7.x. Hiera 1.0 will work with both Puppet 2.7.x and Puppet 3.x. And to answer your other question, Hiera 1.0.0rc1 was never publicly released as a package because a bug was found internally before it released. Does that help

[Puppet Users] service * { enable = true } fails on puppet runs... (one client only)

2012-07-16 Thread trey85stang
I have a puppet client that fails when trying to enable mcollective and nrpe (the only two services I have enable set for). I have 160+ machines that this works fine on but one just gives me the following: Jul 16 15:21:21 server1 puppet-agent[29413]:

Re: [Puppet Users] how to scale puppet with F5 load balancer?

2012-07-16 Thread Matt
The only issue is there is no real good guide on how to do this. Is there any more information that can be provided? What would really help is to see the F5 VS, F5 SSL Profile, and how the ssl key was generated. On Monday, July 9, 2012 8:05:22 AM UTC-4, olli...@googlemail.com wrote: On

Re: [Puppet Users] how to conditionally add users to a virtualized group?

2012-07-16 Thread Jo Rhett
On Jul 16, 2012, at 11:55 AM, Christopher Wood wrote: Possibly something like the following pseudocode example? The main point being to only include a puppet class if there's a certain piece of data in hiera. node default { if hiera('usemysql') { include mysql::service } if

[Puppet Users] Re: service * { enable = true } fails on puppet runs... (one client only)

2012-07-16 Thread Corey Hammerton
In the service resource set the provider parameter to 'redhat': service{'mcollective': provider='redhat', enable=true ... } On Monday, July 16, 2012 3:50:50 PM UTC-4, trey85stang wrote: I have a puppet client that fails when trying to enable mcollective and nrpe (the only two services I have

Re: [Puppet Users] stdlib empty() function not working?

2012-07-16 Thread Nan Liu
On Mon, Jul 16, 2012 at 9:48 AM, Dave Lloyd d...@davelloyd.com wrote: On Mon, Jul 16, 2012 at 10:56 AM, Nan Liu n...@puppetlabs.com wrote: empty() should be an rvalue function. In this case posting the empty() function would be more helpful than the puppet manifests. Nan It's the

Re: [Puppet Users] Re: State of Puppet 3.0 and our commitment to quality

2012-07-16 Thread David
On Monday, July 16, 2012 3:10:28 PM UTC-4, Matthaus Litteken wrote: The hiera 1.0 rc packages or the 0.3.0 gem will work with 2.7.x. Hiera 1.0 will work with both Puppet 2.7.x and Puppet 3.x. And to answer your other question, Hiera 1.0.0rc1 was never publicly released as a package because

[Puppet Users] Re: service * { enable = true } fails on puppet runs... (one client only)

2012-07-16 Thread Corey Hammerton
it works for me when redhat is quoted. On Monday, July 16, 2012 4:57:47 PM UTC-4, trey85stang wrote: That is a no go as well service { nrpe: ensure = running, provider = redhat, enable = true, hasrestart = true, hasstatus = true, } service {

Re: [Puppet Users] Re: State of Puppet 3.0 and our commitment to quality

2012-07-16 Thread Matthaus Litteken
David, Hiera-puppet does provide the glue between Puppet and Hiera. You need to install both hiera and hiera-puppet if you are doing hiera lookups in your manifests (regardless of puppet version). Hiera-puppet provides the parser functions that are used in manifests and hiera does the lookups.

Re: [Puppet Users] problems with puppetdb

2012-07-16 Thread Peter Brown
On 17 July 2012 03:15, Chris Price ch...@puppetlabs.com wrote: Also, would you mind sharing a bit more info about your setup? I presume: * You are installing from the puppetlabs apt repos? yes * Your upgrade was from puppetdb 0.9.1 to 0.9.2? and yes. thanks again Deepak. I shall add

[Puppet Users] Puppet can't find class from imported files

2012-07-16 Thread Anatoliy Lisovskiy
Hi! What I am doing wrong? When I define such a way: === import classes/*.pp node default{ include ntp include add_admin_accounts } node kvm4 inherits default { include vm_create } === it can't find the class from the file imported file. But

Re: [Puppet Users] State of Puppet 3.0 and our commitment to quality

2012-07-16 Thread Jeff McCune
On Fri, Jul 13, 2012 at 12:08 PM, Michael Stahnke stah...@puppetlabs.comwrote: As many of you have doubtless noticed, Puppet 3 and Facter 2 have been sitting in RC (Release Candidate process) for a long time. That's about to change, but they won't be getting released as they currently stand.

Re: [Puppet Users] Re: State of Puppet 3.0 and our commitment to quality

2012-07-16 Thread David
Thanks for the explanation. My apologies for any thread hijacking I did (and thanks to Jeff for bringing it back on target). -- dNb -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit

Re: [Puppet Users] problems with puppetdb

2012-07-16 Thread Deepak Giridharagopal
On Mon, Jul 16, 2012 at 5:13 PM, Peter Brown rendhal...@gmail.com wrote: On 17 July 2012 03:15, Chris Price ch...@puppetlabs.com wrote: Also, would you mind sharing a bit more info about your setup? I presume: * You are installing from the puppetlabs apt repos? yes * Your upgrade

Re: [Puppet Users] Re: State of Puppet 3.0 and our commitment to quality

2012-07-16 Thread Jeff McCune
On Mon, Jul 16, 2012 at 5:11 PM, David dnblankedel...@gmail.com wrote: Thanks for the explanation. My apologies for any thread hijacking I did (and thanks to Jeff for bringing it back on target). You didn't hijack the thread AFAIK. Mike asked to let us know if they had questions which is

Re: [Puppet Users] problems with puppetdb

2012-07-16 Thread Peter Brown
On 17 July 2012 10:19, Deepak Giridharagopal dee...@puppetlabs.com wrote: On Mon, Jul 16, 2012 at 5:13 PM, Peter Brown rendhal...@gmail.com wrote: On 17 July 2012 03:15, Chris Price ch...@puppetlabs.com wrote: Also, would you mind sharing a bit more info about your setup? I presume: *

Re: [Puppet Users] problems with puppetdb

2012-07-16 Thread Peter Brown
I have gotten around the current problem by installing puppetdb on one of me CentOS 6 nodes and it appears to be working as expected. I even got it talking to my postgres database on my master node and that seems to be working as well. Now I can apply some new catalogs i need to roll out. I am

AW: [Puppet Users] What is the intention of thin_storeconfigs?

2012-07-16 Thread Bernd Adamowicz
Brice, Thanks for this detailed answer. As mentioned, I will try this throughout the next weeks (will not find the time before.) Thanks Bernd -Ursprüngliche Nachricht- Von: puppet-users@googlegroups.com [mailto:puppet- us...@googlegroups.com] Im Auftrag von Brice Figureau Gesendet: