Re: [Puppet Users] mcollective and aptitude safe-upgrade

2012-12-14 Thread R.I.Pienaar
- Original Message - From: Brent Clark brentgclarkl...@gmail.com To: puppet-users@googlegroups.com Sent: Friday, December 14, 2012 5:35:02 AM Subject: [Puppet Users] mcollective and aptitude safe-upgrade Guys Compliments of the festive season to everyone. Ive looked at

Re: [Puppet Users] Re: Puppet and Mcollective yaml file changing when it shouldn't

2012-12-14 Thread R.I.Pienaar
- Original Message - From: Zane Williamson zane.william...@gmail.com To: puppet-users@googlegroups.com Sent: Friday, December 14, 2012 3:02:13 AM Subject: [Puppet Users] Re: Puppet and Mcollective yaml file changing when it shouldn't Actually, applying sort doesn't work. It

Re: [Puppet Users] in-module data with hiera

2012-12-14 Thread Stefan Goethals
If anyone is interested, here is the puppet env i used to test this. https://github.com/zipkid/puppet3-hiera_data_in_module Regards, Stefan - Zipkid - Goethals. On Thu, Dec 13, 2012 at 9:59 PM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: R.I.Pienaar

Re: [Puppet Users] Re: Puppet and Mcollective yaml file changing when it shouldn't

2012-12-14 Thread Louis Coilliot
This works also : content = inline_template(%= Hash[scope.to_hash.reject { |k,v| k.to_s =~ /(uptime|timestamp|memory|free|swap)/ }.sort].to_yaml %) It does not sort but keep the fact list in the same order. Louis Coilliot Le 14/12/2012 03:05, Zane Williamson a écrit : Well I think I came up

Re: [Puppet Users] New Puppet User: Issues with pre-commit script

2012-12-14 Thread Matthew Burgess
On Fri, Dec 14, 2012 at 2:00 AM, Jagga Soorma jagg...@gmail.com wrote: #!/bin/bash REPOS=$1 TXN=$2 tmpfile=$(mktemp) export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin for file in $(svnlook changed -t $TXN $REPOS | awk '/^[^D].*\.pp$/ {print $2}') do

[Puppet Users] Python PIP and Centos 6

2012-12-14 Thread Joshua Vote
Hi, I'm currently in the process of writing my first puppet script and I've hit a a problem with the pip package provider. It seems like the puppet pip provider is looking for executable by the name of 'pip' but under Centos 6, the executable goes by the name 'pip-python'. While I can probably

Re: [Puppet Users] Unnecessary changes when creating facts.yaml

2012-12-14 Thread Jakov Sosic
On 12/03/2012 11:39 AM, Andrew Beresford wrote: I have set up puppet to create a facts.yaml file for mcollective using the following line: There was another thread open few days ago, and suggested solution was: content = inline_template('%= Hash[scope.to_hash.reject { |k,v| k.to_s =~

[Puppet Users] Re: variables created with generate() function have a newline when used in a template

2012-12-14 Thread jcbollinger
On Thursday, December 13, 2012 9:48:44 AM UTC-6, Sven vd wrote: This works when using the variable inside a template. But I want to use the variable in an Exec command. How to remove the newline here? .chomp does not seem to work here. No, it wouldn't. The 'chomp' is a method of Ruby's

Re: [Puppet Users] puppet dashboard inventory

2012-12-14 Thread Peter Bukowinski
On Dec 13, 2012, at 4:55 PM, vioilly wrote: Hi, I believe I have done that. So on my puppet master (puppet-server1) I have modified the puppet.conf file and added the following: [master] storeconfigs = true storeconfigs_backend = puppetdb Also puppetdb.conf

[Puppet Users] Re: Puppet and Mcollective yaml file changing when it shouldn't

2012-12-14 Thread phundisk
Thank you, I was having the same issue as you were. Puppet Dashboard was complaining that a node was changing every time because of this file that changed slightly. On Thursday, December 13, 2012 8:06:54 PM UTC-5, Zane Williamson wrote: Has anyone else ran into this? debug:

[Puppet Users] Re: Duplicate declaration for invoking a class

2012-12-14 Thread jcbollinger
What you have presented does not explain the problem. Though you do not recognize it, there is more to this than you are telling us. On Friday, December 14, 2012 3:44:51 AM UTC-6, A_SAAS wrote: Hi everyone, Here are the manifest I am using: In file '*modules/test/manifest/init.pp*':

Re: [Puppet Users] Puppet 3.0 Puppet labs repo package problem on rhel5

2012-12-14 Thread jcbollinger
On Thursday, December 13, 2012 6:51:57 PM UTC-6, Jakov Sosic wrote: IMHO it's a really bad practice to mix different packaging systems and that practice will byte you, sooner or later. +1 John -- You received this message because you are subscribed to the Google Groups Puppet

Re: [Puppet Users] puppet dashboard inventory

2012-12-14 Thread Oliver Leach
Great - that makes sense. How would I use multiple puppet-masters? Thanks, Oli -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to

Re: [Puppet Users] How to group hosts?

2012-12-14 Thread Joe Topjian
On Tue, Dec 11, 2012 at 6:52 PM, Jakov Sosic jso...@srce.hr wrote: On 12/09/2012 04:39 PM, Stefan Goethals wrote: Serving facts to nodes via puppet... That means you already know those facts in puppet so you don't need to serve them to the nodes anymore :-) Yeah kinda beats the purpose of

Re: [Puppet Users] puppet dashboard inventory

2012-12-14 Thread Oliver Leach
Hi, I have tried this config. One thing I have noticed is that my puppet master is not listening on port 8081. When I put the puppet master, in my case puppet-server1, in to /usr/share/puppet-dashboard/config/settings.yml on the dashboard server as follows: # Hostname of the inventory server.

[Puppet Users] Re: variables created with generate() function have a newline when used in a template

2012-12-14 Thread Sven vd
Thanks for your complete answer! I used the inline_template method which is good enough for me On Friday, December 14, 2012 3:17:24 PM UTC+1, jcbollinger wrote: On Thursday, December 13, 2012 9:48:44 AM UTC-6, Sven vd wrote: This works when using the variable inside a template. But I

[Puppet Users] Connecting to Puppet's user experience team as a Puppet Test Pilot

2012-12-14 Thread Jenny Mahmoudi
Hi, it's Jenny here from Puppet's user experience team. We are looking for people to become Puppet Test Pilots who try our prototype designs, provide feedback, and more: + You get gift cards and t-shirts as thanks for helping us out. + About once a quarter, you'll be invited to give feedback in a

Re: [Puppet Users] New Puppet User: Issues with pre-commit script

2012-12-14 Thread Jagga Soorma
Thanks for your reply Matthew. I changed that line to the following: /usr/bin/puppet parser validate $tmpfile /tmp/puppet-val.log 21 Here is what the log is capturing (problem with the environment?): -- simran@shinda:/var/tmp/puppet/puppet/manifests$* svn ci -m 'testing' nodes.pp*

[Puppet Users] Remove certificate requests

2012-12-14 Thread Tim Bishop
Hi, I've got some certificate requests on my puppet master that I wish to remove. It looks like the puppet cert tool doesn't have an option for doing that? What's the best approach, just manually remove them from the puppet/ssl/ca/requests directory? Tim. -- Tim Bishop

Re: [Puppet Users] Connecting to Puppet's user experience team as a Puppet Test Pilot

2012-12-14 Thread Jeff McCune
On Fri, Dec 14, 2012 at 9:23 AM, Jenny Mahmoudi je...@puppetlabs.comwrote: Hi, it's Jenny here from Puppet's user experience team. We are looking for people to become Puppet Test Pilots who try our prototype designs, provide feedback, and more: + You get gift cards and t-shirts as thanks for

Re: [Puppet Users] Re: Overriding parametrised class parameter

2012-12-14 Thread polaris_s0i
Do you know if this was ever fixed in a later version of puppet? If not, is there a bug filed with puppetlabs for this? On Friday, July 20, 2012 7:59:23 AM UTC-4, Felix.Frank wrote: On 07/20/2012 12:48 PM, Fred Gansevles wrote: Hi, I ran into the same problem, i.e. overriding a class

[Puppet Users] Re: Remove certificate requests

2012-12-14 Thread Ellison Marks
Does puppet cert clean not do it? On Friday, December 14, 2012 9:43:12 AM UTC-8, Tim Bishop wrote: Hi, I've got some certificate requests on my puppet master that I wish to remove. It looks like the puppet cert tool doesn't have an option for doing that? What's the best approach, just

[Puppet Users] puppetdb's mq is too long

2012-12-14 Thread scukao...@gmail.com
hi, all I have a master for about 3000 clients, runinternal is 20 min. A problem is that puppetdb's mq is too long so that data in postgre is the OLD version. any suggests to improve performance ? LOG like this: [root@ppmaster /home/puppetdb]# du /home/puppetdb/ -sh 381M/home/puppetdb

[Puppet Users] Re: puppet dashboard 1.2.15-rc1 report search problem

2012-12-14 Thread ivan . arsenault
Change ./app/views/reports/search.html.haml like this : .item - if flash[:errors].present? %div{:class = section error} %h3 Errors - flash[:errors].each do |messages| %p - messages.each do |message| %li= h message Voilà Ivan

Re: [Puppet Users] puppetdb's mq is too long

2012-12-14 Thread Deepak Giridharagopal
On Fri, Dec 14, 2012 at 11:00 AM, scukao...@gmail.com scukao...@gmail.comwrote: hi, all I have a master for about 3000 clients, runinternal is 20 min. A problem is that puppetdb's mq is too long so that data in postgre is the OLD version. any suggests to improve performance ? We'll need

[Puppet Users] puppet agent periodically not running after 3.0 upgrade

2012-12-14 Thread David Mesler
I've recently upgraded from 2.6.9 to 3.0.1 and have noticed an oddity. Our puppet agents are configured with a runinterval of 900 and a splaylimit of 450. Since upgrading I've noticed that once or twice a day our puppet agents simply won't run for about an hour or so. Has anyone else

[Puppet Users] Re: Puppet Agent 3.0.1 intermitently doesn't wake up

2012-12-14 Thread David Mesler
Do they ever wake up on their own? I just posted about my issue where every once in a while my agents will sleep for an hour even though they're configured to run every 15 (+ 7.5 splay) minutes. --david On Wednesday, December 12, 2012 5:50:00 PM UTC-5, MasterPO wrote: I have 39 RHEL nodes

[Puppet Users] Run stages frustration

2012-12-14 Thread Jakov Sosic
Hi. I am wondering why can't run stages get set inside the class? For example: class foo { stage main } Because, if I want to use stages, I have to declare my class as parametrized = so I can't use include or require anywhere else... I thought of a different approach, like: class

Re: [Puppet Users] Re: Remove certificate requests

2012-12-14 Thread Tim Bishop
Nope: puppetmaster# puppet cert list fb311ff01c6f0130b650005056bc6664 (SHA256) FB:E2:F1:86:5D:80:74:25:35:75:3D:09:8F:1E:41:0B:15:D2:66:01:F2:F1:B3:4E:6D:5B:F9:85:4B:BC:AC:28 puppetmaster# puppet cert clean fb311ff01c6f0130b650005056bc6664 Error: Could not find a serial number for

Re: [Puppet Users] Run stages frustration

2012-12-14 Thread Jakov Sosic
On 12/14/2012 09:52 PM, Jakov Sosic wrote: Hi. I am wondering why can't run stages get set inside the class? For example: class foo { stage main } Because, if I want to use stages, I have to declare my class as parametrized = so I can't use include or require anywhere else...

[Puppet Users] Announce: Puppet 3.0.2-rc3 available

2012-12-14 Thread Matthaus Owens
Puppet 3.0.2-rc3 is a bugfix release candidate for the 3.x series of Puppet. This release candidate fixes bug #10963. To see a list of the issues addressed by this release, check out the 3.0.2 version in our issue tracter at: https://projects.puppetlabs.com/versions/337 Downloads are available

Re: [Puppet Users] Re: Remove certificate requests

2012-12-14 Thread Ellison Marks
You might try puppet cert print to get more info about the thing, but out of curiosity, how did it get on your master in the first place? On Friday, December 14, 2012 1:14:54 PM UTC-8, Tim Bishop wrote: Nope: puppetmaster# puppet cert list fb311ff01c6f0130b650005056bc6664 (SHA256)

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2012-12-14 Thread Andrew Sharpe
To avoid the hardcoded memory limit you can install PECL packages with # pear install pecl/package name Given your examples with the providers above I think your declaration might become package{ pear: ensure = installed, provider = 'pear'; pecl/zip: ensure = installed,