[Puppet Users] New Puppet Setup

2012-06-25 Thread Munna S
Team, I am trying to setup new Puppet master server on Centos 5.4. I am getting the below error which running yum install puppet-server puppet-2.7.17-1.el5.noarch from puppetlabs has depsolving problems -- Missing Dependency: ruby-shadow is needed by package puppet-2.7.17-1.el5.noarch

Re: [Puppet Users] New Puppet Setup

2012-06-25 Thread Denmat
Hi Munna, You can find those packages in the EPEL repository. See http://fedoraproject.org/wiki/EPEL. Den On 25/06/2012, at 17:34, Munna S 19.mu...@gmail.com wrote: Team, I am trying to setup new Puppet master server on Centos 5.4. I am getting the below error which running yum install

Re: [Puppet Users] New Puppet Setup

2012-06-25 Thread Munna S
Hello Den, I just used below puppetlabs repo and i was able to install puppet server along with the dependency. rpm -ivh http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-1.noarch.rpm Thanks for quick help Thanks, Munna On Mon, Jun 25, 2012 at 1:08 PM, Denmat

[Puppet Users] puppet freezes on FUTEX_WAKE_PRIVATE

2012-06-25 Thread Ernest Beinrohr
Hi, i just want to ask whether somebody else has this problem of mine and if it can be solved. Many of my ( 30+ ) puppet installation freeze up after some time. The process is waiting for some private futex, but it stays like that forever. This is what strace looks like when the problem

[Puppet Users] Error 400 on SERVER: invalid value for Integer

2012-06-25 Thread Kmbu
Hello gurus, I'm getting this error every once in a while. Not agent specific, and the next run all goes well. I saw this mentioned in another thread, but without an answer. Could not retrieve catalog from remote server: Error 400 on SERVER: invalid value for Integer:

Re: [Puppet Users] Re: Calling custom functions from functions, parameter weirdness

2012-06-25 Thread Krzysztof Wilczynski
Hi, Ruby DSL and templates (via e.g. inline_template) would have the same problem, unless this was handled properly on the function's side. KW On Friday, 22 June 2012 18:53:55 UTC+1, ad wrote: Josh, I appreciate the help. Using function_foo(['bar']) rather than function_foo('bar') works

[Puppet Users] Re: OT: Monitoring solutions

2012-06-25 Thread Krzysztof Wilczynski
Hi, Have a look at https://github.com/monitoringsucks/ KW On Sunday, 24 June 2012 21:45:50 UTC+1, k...@mocker.org wrote: All, I'm curious what monitoring solutions everyone is using and recommend, some of the ones I've been looking at recently: Nagios: Old stand-by, used quite a bit

AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Bernd Adamowicz
We got a totally integrated solution made up with Puppet, Icinga and stored resources. When integrating a new host into Puppet, one just has to wait until it gets monitored in Icinga - no more work to do. Some details are found here: http://www.bernd-adamowicz.de/tag/monitoring/ Bernd

Re: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Andrew Wasilczuk
On Sun, Jun 24, 2012 at 03:45:50PM -0500, Kyle Sexton wrote: All, I'm curious what monitoring solutions everyone is using and recommend, some of the ones I've been looking at recently: Nagios: Old stand-by, used quite a bit but doesn't provide a cohesive solution (have to have add-ons

Re: [Puppet Users] system users class hogging whole cpu

2012-06-25 Thread Azfar Hashmi
Anyone please On Thursday, 14 June 2012 18:07:32 UTC+5, Azfar Hashmi wrote: Peter, What should I change in nns config to change its behavior without breaking any other function. BTW all are Debian 6 but on different clouds. On Tue, Jun 12, 2012 at 8:40 PM, Azfar Hashmi

Re: [Puppet Users] Re: OT: Monitoring solutions

2012-06-25 Thread Kyle Sexton
Hah, this is going to make my search worse! More monitoring solutions to look at. :-) Sent from my iPhone On Jun 25, 2012, at 7:30 AM, Krzysztof Wilczynski krzysztof.wilczyn...@linux.com wrote: Hi, Have a look at https://github.com/monitoringsucks/ KW On Sunday, 24 June 2012

Re: AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Kyle Sexton
Curious if Icinga has integrated graphing or if it's an add-on since it's based on Nagios. Overall you are pleased with the solution? Sent from my iPhone On Jun 25, 2012, at 7:45 AM, Bernd Adamowicz bernd.adamow...@esailors.de wrote: We got a totally integrated solution made up with

Re: AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Christopher Johnston
I use pnp4nagios with icinga, and use the graphite branch (some mods required). Otherwise the RRD setup works well too. On Mon, Jun 25, 2012 at 8:58 AM, Kyle Sexton k...@mocker.org wrote: Curious if Icinga has integrated graphing or if it's an add-on since it's based on Nagios. Overall you

[Puppet Users] Re: Is this possible with Hiera - Puppet Module Development and using Hiera

2012-06-25 Thread jcbollinger
On Friday, June 22, 2012 6:02:33 PM UTC-5, Peter wrote: I believe by extending the hiera-puppet plugin for module developers to follow a similar convention as hiera for module users would make certain things easier for module developers. By providing the ability to signal the

Re: AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Alexander Bien
On 25.06.2012 14:45, Bernd Adamowicz wrote: We got a totally integrated solution made up with Puppet, Icinga and stored resources. When integrating a new host into Puppet, one just has to wait until it gets monitored in Icinga - no more work to do. Some details are found here:

[Puppet Users] Re: Extending Puppet using Rubygems

2012-06-25 Thread jcbollinger
On Saturday, June 23, 2012 7:38:20 PM UTC-5, Kelsey Hightower wrote: There is a pending pull request that adds the ability for Puppet to load Faces, parser functions, and report processors installed via Rubygems. https://github.com/puppetlabs/puppet/pull/873 This means in addition to

AW: AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Bernd Adamowicz
Yes, we are very satisfied with this solution. Icinga is based on Nagios (I think it's a fork.) and has graphical capabilities. Just check out their homepage to see some examples (https://www.icinga.org/). Bernd -Ursprüngliche Nachricht- Von: puppet-users@googlegroups.com

[Puppet Users] Re: Extending Puppet using Rubygems

2012-06-25 Thread Kelsey Hightower
On Monday, June 25, 2012 9:19:01 AM UTC-4, jcbollinger wrote: On Saturday, June 23, 2012 7:38:20 PM UTC-5, Kelsey Hightower wrote: There is a pending pull request that adds the ability for Puppet to load Faces, parser functions, and report processors installed via Rubygems.

AW: AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Bernd Adamowicz
Yes, our Puppet master is running very long for collection the stored Nagios resources. We still can cope with this situation but it might get worse in the future which will then make us think about new hardware I guess. Bernd -Ursprüngliche Nachricht- Von:

AW: AW: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Bernd Adamowicz
Yes, PNP4Nagios is another feature we are using, too. Simply using the performance data created by the Nagios checks is a very good way of having long term monitoring of all boxes. Bernd Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von Christopher

[Puppet Users] Re: Is this possible with Hiera - Puppet Module Development and using Hiera

2012-06-25 Thread Kelsey Hightower
On Friday, June 22, 2012 7:02:33 PM UTC-4, Peter wrote: Hi Joh, On Wednesday, 20 June 2012 03:18:46 UTC+10, jcbollinger wrote: I confess that I don't follow what you are suggesting. Hiera already supports module developers providing data, and module users overlaying their own on top,

[Puppet Users] Re: Installing hiera

2012-06-25 Thread Kelsey Hightower
On Friday, June 22, 2012 3:25:49 PM UTC-4, llo...@oreillyauto.com wrote: My puppet master is behind a proxy and unable to connect to a gem repo, so I used a different machine to fetch hiera and hiera-puppet gems, and the hiera-puppet source tarball. I then did a gem install on them, and I

[Puppet Users] Using simulation capability against a specific node

2012-06-25 Thread Tim Williams
I've just learned of the 'noop' flag on apply and it is really nice. Only, I can't figure out how to get it to do what I want and I wonder if I misunderstand how it's supposed to be used. I've got several different types of nodes in a cluster where each type gets some combination of the modules

[Puppet Users] Re: Using simulation capability against a specific node

2012-06-25 Thread Kelsey Hightower
On Monday, June 25, 2012 9:39:13 AM UTC-4, williamstw wrote: I've just learned of the 'noop' flag on apply and it is really nice. Only, I can't figure out how to get it to do what I want and I wonder if I misunderstand how it's supposed to be used. I've got several different types of

Re: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Michael Friedrich
Hi, Original Message Subject: [Puppet Users] OT: Monitoring solutions From: Kyle Sexton k...@mocker.org To: puppet-users@googlegroups.com Date: 2012-06-24 22:45 Icinga: Never used, Nagios fork that I have no opinion on yet developing using it at work, in combination with

Re: [Puppet Users] Hiera - can't convert Array into String error

2012-06-25 Thread Kelsey Hightower
On Thursday, June 14, 2012 1:51:45 AM UTC-4, Mike wrote: Thanks, It appears to be something internal to the hiera function, so I'll have to go digging in there to find out what's going on. Cheers Are you in position to **test** the 1.0rc branches of hiera and hiera-puppet? On

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Rob B.
Hey Christopher, Thanks for the reply. I will give this a try this morning. As for your question about why we want to mine it, we want to change the root password in out password manager software, have that change the root password on the puppet master, and then have puppet distribute the

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread R.I.Pienaar
- Original Message - From: Rob B. rbenc...@gmail.com To: puppet-users@googlegroups.com Sent: Monday, June 25, 2012 2:52:51 PM Subject: Re: [Puppet Users] Using generate() to mine a shadow file hash Hey Christopher, Thanks for the reply. I will give this a try this morning. As

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread R.I.Pienaar
- Original Message - From: R.I.Pienaar r...@devco.net To: puppet-users@googlegroups.com Sent: Monday, June 25, 2012 2:53:45 PM Subject: Re: [Puppet Users] Using generate() to mine a shadow file hash - Original Message - From: Rob B. rbenc...@gmail.com To:

Re: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Brian Gallew
If you are thinking abou Nagios, Icinga, or Shinken, may I suggest you look at omdistro.org? They provide a single installable RPM/DEB (e.g. omd-0.54.rpm) which includes all three, plus 10 or so add-ins, all configured to work together, *plus* a nifty management tool that makes it super easy to

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Felix Frank
quite sure this wont work, the puppet master does not run as root and so your generate wont have access to read shadow file. you could use sudo of course, but it doesnt seem like a great idea :) Sounds right enough. Though if you're being generous with the hash of that one root password for

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Rob B.
I suppose I could use a cron to pull out the hash and put it into a file to be read by puppet. On Monday, June 25, 2012 9:54:49 AM UTC-4, R.I. Pienaar wrote: - Original Message - From: R.I.Pienaar r...@devco.net To: puppet-users@googlegroups.com Sent: Monday, June 25, 2012

[Puppet Users] Re: Installing hiera

2012-06-25 Thread llow...@oreillyauto.com
On Monday, June 25, 2012 8:37:30 AM UTC-5, Kelsey Hightower wrote: Did you ever get this working? No, I still do not have this working. Dan - When I did the irb thing, I got true for both requires. Also, I can do lookups successfully on CLI, just not from puppet. -- You received this

[Puppet Users] Re: Installing hiera

2012-06-25 Thread llow...@oreillyauto.com
On a related note, I saw a post where someone had a similar problem, but they fixed it by adding/creating some missing default file - but they did not elaborate. Any ideas on what that may be, so I can check it out? -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Re: Installing hiera

2012-06-25 Thread Florian Koch
Hi, Have you the hiera Files in the puppet libdir e.g /var/lib/puppet/lib ? Regards Am 25.06.2012 um 17:15 schrieb llow...@oreillyauto.com llow...@oreillyauto.com: On a related note, I saw a post where someone had a similar problem, but they fixed it by adding/creating some missing

Re: [Puppet Users] Re: Installing hiera

2012-06-25 Thread llow...@oreillyauto.com
On Monday, June 25, 2012 10:21:20 AM UTC-5, Florian Koch wrote: Hi, Have you the hiera Files in the puppet libdir e.g /var/lib/puppet/lib ? No, I do not, actually. Which files need to go there? The stuff in /var/lib/gems/1.8/gems/hiera-0.3.0/lib/ ? -- You received this message because

[Puppet Users] Base directory with File

2012-06-25 Thread Mark Roggenkamp
Hi all, I'd like to specify a base_directory and a list of directories (as variables that may be pulled via hiera later) that will be created under that base directory. base_dir = /home/base bars = [a, b, c] bars will be used to create the folders under base and also part of the information

Re: [Puppet Users] Re: Installing hiera

2012-06-25 Thread Florian Koch
this is my /var/lib/puppet/lib [root@foreman-proxya01 lib]# tree . ├── hiera │ ├── backend │ │ └── puppet_backend.rb │ └── scope.rb └── puppet └── parser └── functions ├── foreman.rb ├── hiera_array.rb ├── hiera_hash.rb ├──

Re: [Puppet Users] Re: Installing hiera

2012-06-25 Thread Nan Liu
On Mon, Jun 25, 2012 at 10:30 AM, Florian Koch florian.koch1...@googlemail.com wrote: this is my /var/lib/puppet/lib [root@foreman-proxya01 lib]# tree . ├── hiera │   ├── backend │   │   └── puppet_backend.rb │   └── scope.rb └── puppet     └── parser     └── functions    

[Puppet Users] Re: Base directory with File

2012-06-25 Thread Mark Roggenkamp
Actually, I think a definition will work. define file_with_base($base_dir) { file {$base_dir/$name: ... } } file_with_base($bars: base_dir = $base_dir } I didn't think about the $name coming from an array used when creating the file_with_base definition. I was only thinking about the

[Puppet Users] facter 1.6.9 patches for aix/powervm detection

2012-06-25 Thread swfan
greetings folks. wanted to have aix detect if it was under powervm using facter. came up with this hack for facter 1.6.9 which work for vscsi and npiv enabled vm's under powervm (so far)... havent checked the dev facter so something may be in a different branch already for facter on this

[Puppet Users] Spaces in file paths for puppet windows

2012-06-25 Thread paul.gomersbach
Hi all, I need to execute the following command, what will be the correct syntax in a windows exec resource? command = C:\Program Files (x86)\RSyslog\Agent\RSyslogConfigClient.exe C:/Program Files (x86)/RSyslog/Agent/customsyslog.xml /f Tanks, Paul. -- You received this message because you

[Puppet Users] Re: Inventory Service on RHEL - uninitalized constant ActiveRecord

2012-06-25 Thread Michael Altfield
Update: I found the problem. My company's RHEL 6 template image had customized/hardened umask settings. When I reverted the umask settings to their default values, everything worked fine. It must have been some sort of permission issues.. -Michael On Monday, June 18, 2012 4:34:37 PM UTC-4,

[Puppet Users] Puppet commands require root access

2012-06-25 Thread Worker Bee
Hi Everyone; Why does running puppet resource require root/sudo access? Is it supposed to be this way or do I have a permissions issue? I installed using the gzip files... Thanks! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this

[Puppet Users] subscribing to a remote mailbox

2012-06-25 Thread Paul Mena
I think the answer is yes, but is it possible for Puppet to subscribe to an email folder on a remote server? My plan is to perform an action whenever the mailbox receives a new email message. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] Puppet Subscribe Metaparameter

2012-06-25 Thread Worker Bee
Hello Everyone; I am just learning puppet and playing around. I was testing the 'subscribe' metaparameter and making changes to the live file on the node, specifically, making modifications the /etc/ssh/sshd_config. What I found out was that puppet does not detect changes to the live file, but,

[Puppet Users] Fwd: possible changes to puppet config file

2012-06-25 Thread Chris Price
Hi everyone, We've been doing some work lately to harden the pluginsync functionality for Puppet 3.x. An issue was brought to my attention by Jeff McCune: In current versions of puppet, it's possible to configure things like your vardir and libdir in any section of the config file; potentially,

[Puppet Users] Value assigned to config.time_zone not recognized

2012-06-25 Thread Michael Altfield
Hi, I'm trying to run Puppet on a RHEL 6 box using apache through passenger. I recently added the Inventory service, but I'm now getting the following error: Value assigned to config.time_zone not recognized.Run rake -D time for a list of tasks for finding appropriate time zone names. I'm

Re: [Puppet Users] Puppet commands require root access

2012-06-25 Thread Douglas Brancaglion
use sudo command in exec, no problem, but you need to configure sudoers file. 2012/6/25 Worker Bee beeworke...@gmail.com Hi Everyone; Why does running puppet resource require root/sudo access? Is it supposed to be this way or do I have a permissions issue? I installed using the gzip

Re: [Puppet Users] Puppet commands require root access

2012-06-25 Thread Me
Of course giving someone 'sudo puppet' is the same as giving them full root access. Just be aware of that. On Monday, June 25, 2012, Douglas Brancaglion wrote: use sudo command in exec, no problem, but you need to configure sudoers file. 2012/6/25 Worker Bee beeworke...@gmail.com

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread John Lyman
This would be fairly easy from cron by running 'puppet resource user root some.pp'. It would be even better if your password manager could trigger the command to run only when the password has changed. On Monday, June 25, 2012 10:17:20 AM UTC-4, Rob B. wrote: I suppose I could use a cron to

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread Robert Bencale
Hey John, It doesnt give the password section. Thanks! Rob On Mon, Jun 25, 2012 at 9:16 PM, John Lyman jlym...@gmail.com wrote: This would be fairly easy from cron by running 'puppet resource user root some.pp'. It would be even better if your password manager could trigger the command

Re: [Puppet Users] Hiera - can't convert Array into String error

2012-06-25 Thread Michael Knox
On 25/06/2012, at 11:48 PM, Kelsey Hightower wrote: On Thursday, June 14, 2012 1:51:45 AM UTC-4, Mike wrote: Thanks, It appears to be something internal to the hiera function, so I'll have to go digging in there to find out what's going on. Cheers Are you in position to **test**