[Puppet Users] ANNOUNCE: Puppet Dashboard v1.1.1 Available

2011-05-17 Thread Michael Stahnke
Announcing final release of Dashboard v1.1.1 Downloads Available: = Tarball: http://www.puppetlabs.com/downloads/dashboard/puppet-dashboard-1.1.1.tar.gz RPM: http://www.puppetlabs.com/downloads/dashboard/puppet-dashboard-1.1.1-1.noarch.rpm DEB: http://www.puppetlabs.com/downloads/dashboard/p

Re: [Puppet Users] verbose dump of manifest for a given host/node?

2011-05-17 Thread Patrick
On May 17, 2011, at 11:53 AM, Jim Mercer wrote: > Is there a method to dump the full recipe for a given target? > > i have a node configuration which includes a bunch of stuff, some of > which includes more stuff, or has 'requires' statements. > > is it possible to get a raw dump of the whole m

Re: [Puppet Users] Facter with a gem

2011-05-17 Thread Michael Knox
I extend this a bit in some of my facts to check that the gem is available before using it. That way if the gem can't be loaded (normally because it isn't installed), it will still return a value that I can use in the manifests. Facter.add("ibmim_installed_version") do setcode do ibmim

[Puppet Users] Managing FMS (Flash Media Interactive Server) with Puppet

2011-05-17 Thread Forrie
Is anyone currently using Puppet to manage and/or rollout Adobe FMS? If so, I'd be interested knowing about your config, approach, etc. I can see where the configs can be templated. Applications installed separately (ours are complicated with configs).If you install the base code on a local

Re: [Puppet Users] Abstracting filebucket source?

2011-05-17 Thread Nathan Clemons
That did the trick perfectly. I thought you always had to specify the puppet server in the puppet URL, I didn't realize you could leave that off and have it autodetected. Thank you! -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, May 17,

Re: [Puppet Users] Re: Ensure a package is newer than version X

2011-05-17 Thread Doug Warner
On 05/17/2011 09:51 AM, Calum wrote: > On 17 May 2011 13:59, jcbollinger wrote: >> You cannot express such a requirement directly in Puppet. You can, >> however, write >> >>ensure => "latest" > > That will update packages that don't "need" to be updated though - > i.e. ones that are newer th

[Puppet Users] verbose dump of manifest for a given host/node?

2011-05-17 Thread Jim Mercer
Is there a method to dump the full recipe for a given target? i have a node configuration which includes a bunch of stuff, some of which includes more stuff, or has 'requires' statements. is it possible to get a raw dump of the whole manifest, including all the includes? sorta like processing yo

Re: [Puppet Users] buglet in ec2 facts in facter 1.5.9rc6

2011-05-17 Thread Nigel Kersten
On Mon, May 16, 2011 at 8:07 PM, Christopher McCrory wrote: > Hello... > >  I ran into a buglet in facter 1.5.9rc6 (from tmz repo).  In normal AWS > instances it works great.  In VPC instances if doesn't work.  This seems > to be because VPC instances don't use the fe:ff:ff:... MAC addresses. Tha

Ang.: Re: [Puppet Users] Facter with a gem

2011-05-17 Thread patant
Found the error: require 'rubygems' require 'mygem' Facter.add("myfacter") do setcode do -- This works: Facter.add("myfacter") do require 'rubygems' require 'mygem' setcode do --- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. T

Re: [Puppet Users] Facter with a gem

2011-05-17 Thread Matt Robinson
require 'rubygems' require 'yourgemname' That should be enough. You're going to have to start giving more info you want more help. At the very least the gem name. Sometimes you think you're requiring the gem correctly based on the gem name, but the thing you need to require might not match the

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.8 final available!

2011-05-17 Thread Mark Phillips
I'm just about to release the OpenCSW Solaris package, but it's in experimental anyway: http://buildfarm.opencsw.org/experimental.html#markp On 27 Apr 2011, at 22:30, Jacob Helwig wrote: > This release addresses issues with the Puppet 2.6.x series. > > Bug #4884: > > Shell exec provider that

Re: [Puppet Users] Plugins don't work the way I think they do?

2011-05-17 Thread Aaron Grewell
The Type and Provider are both in the network module, which is in my module path. I've performed an 'include network' from the cluster class which is where I'm trying to use them. Just for grins, I also tried copying the entire lib/puppet structure from the network module to the cluster module so

Re: [Puppet Users] Fun with hashes and ERB

2011-05-17 Thread Aaron Grewell
Thanks, that worked perfectly! I had no idea key and value were reserved words. On Mon, May 16, 2011 at 6:16 PM, yzhk...@gmail.com wrote: > multipaths { > <% devices.each do |key,value| -%> > multipath { > wwid<%= value %> > alias <%= key %> > } > <% end -%

Re: [Puppet Users] Should puppet manage its own client configs?

2011-05-17 Thread Chris Phillips
On 16 May 2011 21:05, Chris Phillips wrote: > > > On 16 May 2011 20:14, Jonathan Gazeley wrote: > >> Hi Chris, >> >> We have configured puppet to manage its own puppet.conf on clients, and to >> ensure that puppetd is running on all hosts. However it does not manage >> puppet.conf on the puppetma

[Puppet Users] Re: templates on puppetmaster, shipped via scp to clients

2011-05-17 Thread Judd Maltin
Long delay in replying - how would I get the facter facts to the puppet master in order to process the erb? Any cool node classifier i might use? Scp a yaml file from the node to the puppet master? How would I process the yaml file and the erb once there? Any tools for that? Thanks for the sug

Re: [Puppet Users] Type, provider & purge

2011-05-17 Thread Felix Frank
On 05/17/2011 03:45 PM, Florent Paillot wrote: > it's not cool (IMO) to use an external bash script I sort of agree and have so far been able to meet all my ends without relying on concat. The bigger problem I perceive is that the number of file resources can explode and the agent calls the filese

Re: [Puppet Users] Re: Ensure a package is newer than version X

2011-05-17 Thread Calum
On 17 May 2011 13:59, jcbollinger wrote: > You cannot express such a requirement directly in Puppet.  You can, > however, write > >    ensure => "latest" That will update packages that don't "need" to be updated though - i.e. ones that are newer than 1.7.1 but not at the latest. > package { "sud

Re: [Puppet Users] Type, provider & purge

2011-05-17 Thread Florent Paillot
Thank you for your answer Felix ! I took a look at the puppet-concat module. I should be able to achieve my goal with it but it's not cool (IMO) to use an external bash script :/ . A type is a better solution, don't you think ? Florent. Hi, On 05/17/2011 11:19 AM, Florent Paillot wrote:

[Puppet Users] Re: Ensure a package is newer than version X

2011-05-17 Thread jcbollinger
On May 17, 4:56 am, Calum wrote: > Hello all, > > Is there a way of ensuring a package is newer than a certain version? > > For instance: > sudo only supported the includedir option from around version 1.7.1, > and I am trying to ensure that the sudo package is newer than that. > > However, in P

Re: [Puppet Users] Type, provider & purge

2011-05-17 Thread Felix Frank
Hi, On 05/17/2011 11:19 AM, Florent Paillot wrote: > Hi all, > > I need a Puppet type that act like this : > > class1 { > > mytype { "name: > command => "command = YY" > } > } > > class2 { > > mytype { "name": > command => "command = XX", > } > } > > > On the client, it gene

Re: [Puppet Users] Abstracting filebucket source?

2011-05-17 Thread Felix Frank
On 05/17/2011 03:46 AM, Nathan Clemons wrote: > I have two puppet configurations, one for the office and one for > production. We have some directories in common (both for files and for > classes) using SVN externals. So the format is like: > > puppet-common >* files >* classes > puppet-pr

[Puppet Users] Ensure a package is newer than version X

2011-05-17 Thread Calum
Hello all, Is there a way of ensuring a package is newer than a certain version? For instance: sudo only supported the includedir option from around version 1.7.1, and I am trying to ensure that the sudo package is newer than that. However, in Puppet 0.25.5, it doesn't appear that you can do pa

Re: [Puppet Users] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B

2011-05-17 Thread Nicolas Jungers
On 2011-05-17 09:23, Martin Alfke wrote: On 05/17/2011 08:59 AM, Nicolas Jungers wrote: [snip] I recreated several time the cert without problem, but the message stayed the same. The ssl debuging of the connection indicated that the cert where indeed correct. It turned out that when recreatin

[Puppet Users] Type, provider & purge

2011-05-17 Thread Florent Paillot
Hi all, I need a Puppet type that act like this : class1 { mytype { "name: command => "command = YY" } } class2 { mytype { "name": command => "command = XX", } } On the client, it generate a file : myfile.cfg - command = YY command = XX I want to purge "myf

[Puppet Users] Upgrading form 0.24 to ???

2011-05-17 Thread Rene
Hello Currently we are using Version 0.24.x on our production system. Now we are planing to perform an upgrade. Which version do you suggest is stable enough for production? Can I directly upgrade from 0.24 to 2.6? Any other consideration? BR Rene -- You received this message because you are su

Re: [Puppet Users] Plugins don't work the way I think they do?

2011-05-17 Thread Patrick Mohr
On Mon, May 16, 2011 at 5:04 PM, Aaron Grewell wrote: > Hi all, > I'm trying to configure a set of network interfaces, so I downloaded the > puppet-network module from the module forge. I enabled plugin sync per > http://docs.puppetlabs.com/guides/plugins_in_modules.htm and added the > module to

Re: [Puppet Users] apt-pinning & puppet package management

2011-05-17 Thread CoolCold
On Tue, May 17, 2011 at 11:39 AM, Patrick Mohr wrote: > If it's pinned like you show, will your computer upgrade to the backports > version if you run "apt-get update && apt-get upgrade" or do you need the > "-t"? Well, it should upgrade to backport version, because of just apt-get update && apt-g

Re: [Puppet Users] apt-pinning & puppet package management

2011-05-17 Thread Patrick Mohr
If it's pinned like you show, will your computer upgrade to the backports version if you run "apt-get update && apt-get upgrade" or do you need the "-t"? On Mon, May 16, 2011 at 1:49 PM, CoolCold wrote: > Hello! > I have question about Debian package management with puppet. I'm > wondering is th

Re: [Puppet Users] Going to publish custom modules : Request for comments

2011-05-17 Thread Brice Figureau
On Sun, 2011-05-15 at 21:27 +0200, Matthias Saou wrote: > Dan Bode wrote: > > [snip] > > If there are people familiar with puppetdoc here : Is it possible to > > > generate clean doc for my modules with only relative links to be > > > included in the repo? > > > > I do not understand this questio

Re: [Puppet Users] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B

2011-05-17 Thread Martin Alfke
On 05/17/2011 08:59 AM, Nicolas Jungers wrote: > I ran in this problem an digged the net for a while to find a solution. > > I have a fresh puppet install, and most nodes run fine but some exhibit > the following error: > > err: Could not retrieve catalog from remote server: SSL_connect > returne

[Puppet Users] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B

2011-05-17 Thread Nicolas Jungers
I ran in this problem an digged the net for a while to find a solution. I have a fresh puppet install, and most nodes run fine but some exhibit the following error: err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certifica