[Puppet Users] Announce: Puppet 2.7.6rc1 available

2011-10-04 Thread Michael Stahnke
It was a busy week last week, but we're back to our monthly release candidates for our projects. This is an enhancement/fix release candidate of Puppet. A major focus on this release was Windows support. Puppet now works on Windows as agent. Another focus was on the RAL around using it with

Re: [Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-10-04 Thread Ken Barber
So again quoting Dexter (who should really be participating in this discussion himself :-P). Perhaps a more POSIX purist set of facts based around the posix/opengroup standards would be desirable: http://pubs.opengroup.org/onlinepubs/009604599/basedefs/sys/utsname.h.html

[Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
Would appreciate any advice, there is not a lot of info on hiera and I'm currently stuck not able to perform a puppet run on the client. -- Forwarded message -- From: Gregory Caldwell gregory.caldw...@us.icap.com Date: Oct 3, 2011 3:56 PM Subject: FW: Hiera Issue To: Greg Caldwell

[Puppet Users] Can't get servers to sync

2011-10-04 Thread John Bower
Hello, I have successfully have installed puppetmaster and client on two seperate vms. The client is called cloneubuntu.local.net and the master is puppet.local.net Certs are also correct, I signed them and everything went well. Client and Master can ping each other: Client:

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread R.I.Pienaar
- Original Message - Would appreciate any advice, there is not a lot of info on hiera and I'm currently stuck not able to perform a puppet run on the client. That means the puppet parser function isnt installed correctly -- Forwarded message -- From: Gregory

[Puppet Users] Re: Can't get servers to sync

2011-10-04 Thread olympus stance
Also this is what my nodes.pp file looks like on the master root@puppet:/etc/puppet/manifests# cat nodes.pp # /etc/puppet/manifests/nodes.pp node basenode { include sudo } node 'cloneubuntu.local.net' inherits basenode { } and on the master i am running puppetd and it looks like

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
How do I resolve or troubleshoot this issue? I am running puppet 2.6:9 on red hat 5:6 with the following packages: rubygem-hiera-0:2:0-1 rubygem-hiera-puppet-0.2.0-1 On Oct 4, 2011 8:36 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - Would appreciate any advice, there is

[Puppet Users] Re: Get the value of a parameter passed to a parameterized class

2011-10-04 Thread jcbollinger
On Oct 3, 5:44 pm, Bruno Leon nonolem...@gmail.com wrote: Hi, is there a way to get the value of a parameter passed to a parameterized class ? I've searched quite a lot and did not came out with a solution. Did you mean within your manifests? You can do it easily as long as the class in

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread R.I.Pienaar
- Original Message - How do I resolve or troubleshoot this issue? I am running puppet 2.6:9 on red hat 5:6 with the following packages: rubygem-hiera-0:2:0-1 rubygem-hiera-puppet-0.2.0-1 I dont believe the hiera_include() function has been released as a gem yet, you'll need to

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
Ok thanks, ill take a look, much appreciated. On Oct 4, 2011 9:24 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - How do I resolve or troubleshoot this issue? I am running puppet 2.6:9 on red hat 5:6 with the following packages: rubygem-hiera-0:2:0-1

[Puppet Users] Re: Can't get servers to sync

2011-10-04 Thread olympus stance
I am running Ubuntu, installed puppet through gem. On Tue, Oct 4, 2011 at 8:41 AM, olympus stance olympus.sta...@gmail.comwrote: Also this is what my nodes.pp file looks like on the master root@puppet:/etc/puppet/manifests# cat nodes.pp # /etc/puppet/manifests/nodes.pp node basenode {

[Puppet Users] Re: Can't get servers to sync

2011-10-04 Thread olympus stance
Here is more verbose information, amd I missing roledel and pw? From the client: root@cloneubuntu:~# puppetd --no-daemonize --debug --verbose debug: Failed to load library 'selinux' for feature 'selinux' debug:

[Puppet Users] Re: Can't get servers to sync

2011-10-04 Thread olympus stance
Here is my ouput from the gems webpage running on cloneubuntu (the client). I am stuck, please help :) Summary There are 3 gems installed: facter, puppet, rubygems. Gems facter 1.6.0 [rdoc] [www] Facter, a system inventory tool Executable is facter. puppet 2.7.5 [rdoc] [www] -

[Puppet Users] How best to monitor puppet?

2011-10-04 Thread Marcus, Allan B
We want to use Nagios to monitor out puppet server so we can be notified if it goes down. We are using Fusion Passenger and Apache on Red Hat. Any suggestion for what and how to monitor? -- Thanks, Allan Marcus 505-667-5666 al...@lanl.gov -- You received this message because you are

Re: [Puppet Users] How best to monitor puppet?

2011-10-04 Thread Sam Roza
I would just use your typical template for a Linux server (or individual services, which is how I tend to manage Nagios), and make sure to add service-specific service checks for puppetd/puppetmaster, Apache and any other important services. I don't think Puppet has any specific needs here...

Re: [Puppet Users] How best to monitor puppet?

2011-10-04 Thread Rob McBroom
On Oct 4, 2011, at 9:47 AM, Marcus, Allan B wrote: Any suggestion for what and how to monitor? We’re not using Nagios, but on the server we just check to see if port 8140 is listening. On the clients, we check that at least one puppetd process is running and we check for errors in the logs

[Puppet Users] AW: How best to monitor puppet?

2011-10-04 Thread Bernd Adamowicz
We use the basic checks for any Unix machine along with special checks for running Puppet master and client process where appropriate. A service which uses NRPE and a check_procs call on the Puppet boxes like these two examples works fine for us:

Re: [Puppet Users] How best to monitor puppet?

2011-10-04 Thread Christopher Wood
On Tue, Oct 04, 2011 at 01:47:17PM +, Marcus, Allan B wrote: We want to use Nagios to monitor out puppet server so we can be notified if it goes down. We are using Fusion Passenger and Apache on Red Hat. Any suggestion for what and how to monitor? Not so far using Nagios or anything. I

Re: [Puppet Users] Re: Get the value of a parameter passed to a parameterized class

2011-10-04 Thread Bruno Leon
On 11-10-04 09:11 AM, jcbollinger wrote: On Oct 3, 5:44 pm, Bruno Leonnonolem...@gmail.com wrote: Hi, is there a way to get the value of a parameter passed to a parameterized class ? I've searched quite a lot and did not came out with a solution. Did you mean within your manifests? You can

Re: [Puppet Users] Get the value of a parameter passed to a parameterized class

2011-10-04 Thread Bruno Leon
I should have precised that I need them during the catalog compilation. Thanks -- Bruno On 11-10-03 06:51 PM, Dan Bode wrote: This is stored inside of the compiled catalog. Catalogs are saved on the client where they are applied the default location is:

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
We are operational again, thanks. On Tue, Oct 4, 2011 at 9:24 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - How do I resolve or troubleshoot this issue? I am running puppet 2.6:9 on red hat 5:6 with the following packages: rubygem-hiera-0:2:0-1

Re: [Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
On Tue, Oct 4, 2011 at 9:28 AM, Greg Caldwell greg.caldwe...@gmail.comwrote: Ok thanks, ill take a look, much appreciated. On Oct 4, 2011 9:24 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - How do I resolve or troubleshoot this issue? I am running puppet 2.6:9

[Puppet Users] Use of function_defined in custom function

2011-10-04 Thread Bob
Hi Folks I got a problem using the defined function in my custom function. In our Puppet environment we have some xml files, where our service dependent things are stored. I wrote a custom function which catches a puppet-part inside the xml and creates resources with the create_resources

[Puppet Users] facter variables empty

2011-10-04 Thread joffrey
Hi, On my puppet node, there are many facter variables that are empty in my manifests. But, there are not empty when I start facter on the node. why ? ex in a module: class resolver { if $::ipaddress6 { ... } $domainename = $domain } In this manifest, $domain and $ipaddress6 are

[Puppet Users] Design Goals of Puppet

2011-10-04 Thread brighton marekera
Hi everyone. I am Looking for a any information on the Design goals of Puppet and its History from its inception,i have been looking around the internet and i cant seem to find good info on tht -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

Re: [Puppet Users] (mostly) philosophical design question

2011-10-04 Thread Thomas Bendler
Hi David, 2011/10/3 David Ressman ress...@gmail.com [...] I'm currently redoing our puppet setup and trying to start with new design from the ground up to implement all of the puppet 2.6+ goodness, but I'm getting tripped up with the complexity of the design. I want to do things the right

[Puppet Users] RFC: Being able to exclude resources from reporting.

2011-10-04 Thread Nigel Kersten
As per: https://projects.puppetlabs.com/issues/7555 it looks like we've got some use cases around excluding some resources from being reported on to reduce noise. Should we implement a metaparameter like this? Do the use cases justify breaking the consistency of the model (report on everything)

Re: [Puppet Users] RFC: Being able to exclude resources from reporting.

2011-10-04 Thread Daniel Pittman
On Tue, Oct 4, 2011 at 10:16, Nigel Kersten ni...@puppetlabs.com wrote: As per: https://projects.puppetlabs.com/issues/7555 it looks like we've got some use cases around excluding some resources from being reported on to reduce noise. This feels like solving the problem on the wrong side to

[Puppet Users] Re: (mostly) philosophical design question

2011-10-04 Thread jcbollinger
On Oct 3, 11:53 am, David Ressman ress...@gmail.com wrote: Hi all, I'm currently redoing our puppet setup and trying to start with new design from the ground up to implement all of the puppet 2.6+ goodness, but I'm getting tripped up with the complexity of the design. I want to do things

Re: [Puppet Users] Design Goals of Puppet

2011-10-04 Thread Brian Gupta
A quick google found this.. I am sure you can find more, remember the founder was Luke Kanies and the original name of Puppet Labs was Reductive Labs: http://www.redmonk.com/cote/2009/06/24/reductivelabs/ As far as design goals go, the key concept is idempotent, which means that no matter how

[Puppet Users] Problem: Puppet under Passenger.

2011-10-04 Thread William
Having issues getting Puppet running under Passenger. From httpd error_log: [ pid=24647 thr=268010020 file=utils.rb:176 time=2011-10-04 11:45:10.892 ]: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- puppet/application/master) (process 24647, thread

[Puppet Users] Re: Get the value of a parameter passed to a parameterized class

2011-10-04 Thread jcbollinger
On Oct 4, 9:39 am, Bruno Leon nonolem...@gmail.com wrote: On 11-10-04 09:11 AM, jcbollinger wrote: On Oct 3, 5:44 pm, Bruno Leonnonolem...@gmail.com  wrote: Hi, is there a way to get the value of a parameter passed to a parameterized class ? I've searched quite a lot and did not

[Puppet Users] per host/node ssl key cert info

2011-10-04 Thread Matt Zagrabelny
Hi, Are people using puppet to store/deploy SSL key/cert info? My scenario is that I've got a bunch of nodes/hosts that are using Shibboleth with each host having its own SSL cert and key. I know I can ensure the relevant packages are installed and that the configs are consistent across said

Re: [Puppet Users] facter variables empty

2011-10-04 Thread Denmat
Hi, Can you be a little clearer on your issue? Are you saying they are empty when you compile the manifest for the node? Good things to include are logs, version number and basic set up (puppet/passenger, puppet/mongrel, puppet/webrick). Cheers, Den On 04/10/2011, at 18:52, joffrey

Re: [Puppet Users] Announce: Puppet 2.7.6rc1 available

2011-10-04 Thread Josh Cooper
This is an enhancement/fix release candidate of Puppet. A major focus on this release was Windows support. Puppet now works on Windows as agent. Another focus was on the RAL around using it with tooling such as mcollective or scripting. The release notes have a a world of information

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Dan Bode
what version did you upgrade from? could you also recreate with --trace. thanks, Dan On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon nonolem...@gmail.com wrote: I don't if anybody is using the concat modules from ripienaar, but since an upgrade to 2.7.5 I keep getting an error on fragment

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Bruno Leon
I was on 2.7.3 previously. thanks -- Bruno On 11-10-04 05:46 PM, Dan Bode wrote: what version did you upgrade from? could you also recreate with --trace. thanks, Dan On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon nonolem...@gmail.com mailto:nonolem...@gmail.com wrote: I don't if anybody

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Nigel Kersten
Are you exporting resources with a postgresql backend Bruno? On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon nonolem...@gmail.com wrote: I don't if anybody is using the concat modules from ripienaar, but since an upgrade to 2.7.5 I keep getting an error on fragment collection. The code is like

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Daniel Pittman
That looks like a custom type that isn't being loaded on the client, rather than a StoreConfig error to me. The effect of the PostgreSQL bug should only have been to miss resources when collecting, not to generate a catalog that didn't do the right thing. Daniel On Tue, Oct 4, 2011 at 15:32,

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Bruno Leon
This is not a custom type, but a define. I guess you know it already but it is here https://github.com/ripienaar/puppet-concat/manifest/fragment.pp The declaration of concat::fragment works fine, only the collection breaks, which means the define is available to puppet. To be more generic it

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Daniel Pittman
On Tue, Oct 4, 2011 at 16:55, Bruno Leon nonolem...@gmail.com wrote: This is not a custom type, but a define. I guess you know it already but it is here https://github.com/ripienaar/puppet-concat/manifest/fragment.pp The declaration of concat::fragment works fine, only the collection breaks,

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Bruno Leon
I'm using MySQL not PostgreSQL. I'll have a look at the queries tomorrow though and post results here. Bruno On 11-10-04 10:41 PM, Daniel Pittman wrote: On Tue, Oct 4, 2011 at 16:55, Bruno Leonnonolem...@gmail.com wrote: This is not a custom type, but a define. I guess you know it already

[Puppet Users] Announce: Dashboard 1.2.2rc2 available

2011-10-04 Thread Michael Stahnke
This is a maintenance release candidate of Puppet Dashboard 1.2.2rc2. New in this RC is a bug-fix to no longer allow you edit node names. In the past you were able to This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have included Debian and RPM packages

Re: [Puppet Users] AW: How best to monitor puppet?

2011-10-04 Thread Tim Connors
On Tue, 4 Oct 2011, Bernd Adamowicz wrote: -Ursprüngliche Nachricht- Von: puppet-users@googlegroups.com [mailto:puppet- us...@googlegroups.com] Im Auftrag von Marcus, Allan B Gesendet: Dienstag, 4. Oktober 2011 15:47 An: puppet-users@googlegroups.com Betreff: [Puppet Users]

Re: [Puppet Users] AW: How best to monitor puppet?

2011-10-04 Thread Scott Smith
It doesn't matter if puppetmasterd or puppetd are running and working if your clients are failing catalog runs. Send reports, write a check that alerts on N hosts with failed reports over X timeframe or something. On Tue, Oct 4, 2011 at 8:09 PM, Tim Connors tim.w.conn...@gmail.com wrote: On

[Puppet Users] problem with generate function in template

2011-10-04 Thread deet
The env is Solaris 10, facter 1.5.9, puppet 2.6.8, ruby 1.8.7 p302. I'm trying to call the generate function inside of an erb template and getting an error that the generate function doesn't exist. The following snippet from http://docs.puppetlabs.com/guides/templating.html leads me to believe

Re: [Puppet Users] problem with generate function in template

2011-10-04 Thread Peter Bukowinski
On Oct 5, 2011, at 12:11 AM, deet wrote: The env is Solaris 10, facter 1.5.9, puppet 2.6.8, ruby 1.8.7 p302. I'm trying to call the generate function inside of an erb template and getting an error that the generate function doesn't exist. The following snippet from

Re: [Puppet Users] AW: How best to monitor puppet?

2011-10-04 Thread Chris Phillips
Our approach is to combine the monitoring and the execution. Totally ditch the puppet client service and use nagios to run a check_puppet script which does the puppet run and reports the exit codes. This also covers things like having a defined retry interval, so if puppet runs and there are no