[Puppet Users] Announce: Puppet Server 1.0.2 available!

2015-01-15 Thread Jeff McCune
We're pleased to announce that Puppet Server 1.0.2 is now available. This release is the first bug fix version of Puppet Server 1.0. In accordance with the [Semantic Versioning](http://semver.org) specification, this release contains fixes for bugs reported against the 1.0 release. Puppet Server

[Puppet Users] Re: update package with condition

2015-01-15 Thread puppetstan
Hi John, It's ok with unless => "/bin/bash -c '[ `/bin/rpm -q --qf %{VERSION} facter` = 1.7.6 ]'" thanks a lot Le mercredi 14 janvier 2015 18:34:58 UTC+1, puppetstan a écrit : > > Hi, > > I would like to update the package facter on all of my servers. (I can not > use INSTALL_OPTIONS becau

[Puppet Users] puppet agent run slow (catalog run time does not match --summarize total)

2015-01-15 Thread Kai Timmer
Hello, when I run my puppet agent with --summarize it shows this at the end: Notice: Finished catalog run in 72.68 seconds Changes: Events: Resources: Total: 2217 Time: Filebucket: 0.00 Resources: 0.00 Schedule: 0.00 Apt key: 0.00 Group: 0

Re: [Puppet Users] Conditional Require For File Type

2015-01-15 Thread jcbollinger
On Wednesday, January 14, 2015 at 8:08:25 PM UTC-6, Felix.Frank wrote: > > On 01/14/2015 03:47 PM, Jason Wever wrote: > > Hi All, > > > > I having a problem in where I'm defining a File Type and setting the > > requires parameter to use a variable name (e.g. requires => $foo). > > However, w

[Puppet Users] Re: lambda with Custom facter

2015-01-15 Thread jcbollinger
On Wednesday, January 14, 2015 at 5:53:04 AM UTC-6, Ashish Jaiswal wrote: > > Hi, > > I have a custom facter which spits out like this > # facter -p > xfs_mounts => ["/docroot", "/ecr", "/intprd", "/mysql"] > > Now I want to iterate over this. so thought lambda is the one. > >$a=$xf

Re: [Puppet Users] Raspberry pi + facter problem: Could not retrieve local facts: can't convert nil into String

2015-01-15 Thread Ken Barber
> I have installed Puppet on a Raspberry pi (running Raspbian) and it seems to > work (sort of). I managed to add it to a Puppetmaster and sign its > certificate but a puppet run fails: > > Info: Retrieving pluginfacts > Info: Retrieving plugin > Info: Loading facts > Error: Could not retrieve loca

[Puppet Users] Re: update package with condition

2015-01-15 Thread jcbollinger
On Wednesday, January 14, 2015 at 11:34:58 AM UTC-6, puppetstan wrote: > > Hi, > > I would like to update the package facter on all of my servers. (I can not > use INSTALL_OPTIONS because my puppet version is too old) > > I added a condition--> if the package facter is installed AND if facter >

[Puppet Users] Re: update package with condition

2015-01-15 Thread puppetstan
Le jeudi 15 janvier 2015 11:24:27 UTC+1, simon.o...@gmail.com a écrit : > > > exec {'rpm updates': >> command => '/bin/rpm -Uvh /tmp/facter-1.7.6-1.el6.x86_64.rpm', >> onlyif => "/bin/rpm -q facter and ('/usr/bin/facter -v' != >> facter-1.7.6)", >> } >> >> > I think the p

[Puppet Users] Raspberry pi + facter problem: Could not retrieve local facts: can't convert nil into String

2015-01-15 Thread SirHopcount
Hi, I have installed Puppet on a Raspberry pi (running Raspbian) and it seems to work (sort of). I managed to add it to a Puppetmaster and sign its certificate but a puppet run fails: Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve local facts:

[Puppet Users] Re: update package with condition

2015-01-15 Thread simon . oosthoek
> exec {'rpm updates': > command => '/bin/rpm -Uvh /tmp/facter-1.7.6-1.el6.x86_64.rpm', > onlyif => "/bin/rpm -q facter and ('/usr/bin/facter -v' != > facter-1.7.6)", > } > > I think the problem lies in the onlyif rule, have you tried running that command on a machine? I

[Puppet Users] Re: lambda with Custom facter

2015-01-15 Thread Ashish Jaiswal
Hello, Any hint on this ? Thanks. On Wednesday 14 January 2015 05:22 PM, Ashish Jaiswal wrote: Hi, I have a custom facter which spits out like this # facter -p xfs_mounts => ["/docroot", "/ecr", "/intprd", "/mysql"] Now I want to iterate over this. so thought lambda is the one. $a=$xf

[Puppet Users] Re: update package with condition

2015-01-15 Thread puppetstan
Hi Yes it's a solution but for the moment i would like to use a condition ;) but i have a problem with it ;) Regards Le mercredi 14 janvier 2015 18:34:58 UTC+1, puppetstan a écrit : > > Hi, > > I would like to update the package facter on all of my servers. (I can not > use INSTALL_OPTIONS bec

Re: [Puppet Users] update package with condition

2015-01-15 Thread Martin Alfke
Hi, with RH6 you can use yum provider and set ensure to latest. (Maybe you need to create a yum repo for your factor package). hth, Martin On 14 Jan 2015, at 18:34, puppetstan wrote: > Hi, > > I would like to update the package facter on all of my servers. (I can not > use INSTALL_OPTIONS b