[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread Martin Wheldon
Hi, You could take a slightly different approch and create a debian meta package with all the required packages listed, then have puppet keep the mata package up to date. Don't know if this helps. Martin On Mon, Sep 14, 2009 at 1:16 AM, Trevor Vaughan wrote: > > -BEGIN PGP SIGNED MESSAGE-

[Puppet Users] Re: troubleshooting puppet on Ubuntu

2009-09-14 Thread Julien Garet
Le 12 sept. 09 à 12:58, Bogdan Bivolaru a écrit : > > Hello, Hello, > I'm trying to follow the guide at > http://reductivelabs.com/trac/puppet/wiki/SimplestPuppetInstallRecipe > , but I get a funny error when starting Puppetd: > Server: > sudo puppetmasterd --verbose > /usr/lib/ruby/1.8/xmlsi

[Puppet Users] puppetd executes after every 30 minutes

2009-09-14 Thread lovewadhwa
Hi all I executed a manifest to be replicated to all servers through puppet.By default puppet executes the manifest if any change in configuration every 30 minutes. Though i have not changed anything in the configuration or manifest, puppet executes the same manifest after every 30 minutes as se

[Puppet Users] is there a conary package provider in the works?

2009-09-14 Thread Richard Wurman
I have some rpath/foresight machines I'd like to puppet'ize but AFAIK no one's made a conary package provider ... I suppose what I most care about are config files for now -- because we are using the "conary way" of keeping our packages updated. That said, it would be nice to know that there's s

[Puppet Users] Re: Configuration parse testing

2009-09-14 Thread James Turnbull
> Great suggestion thanks; we have a slightly different way to generate the > list of servers, but the concept is sound. > Just a couple of notes for anyone who might try this in Debian, with 0.25: > > 1) The "puppetmasterd --compile" has to run as the puppet user.  It's > something to do with h

[Puppet Users] Re: puppetd executes after every 30 minutes

2009-09-14 Thread David Schmitt
lovewadhwa wrote: > Hi all > > I executed a manifest to be replicated to all servers through > puppet.By default puppet executes the manifest if any change in > configuration every 30 minutes. > > Though i have not changed anything in the configuration or manifest, > puppet executes the same man

[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread David Schmitt
Chris Blumentritt wrote: > The spirit of puppet is to install via the package resource. You could > write a shell script to install using a text file as a data source then > use the exec resource using onlyif to check to see if you need to run > it. What I would do is create a separate class

[Puppet Users] Re: What does puppetrun do?

2009-09-14 Thread Jordi Funollet
On Saturday 12 September 2009 11:54:59 grandpa wrote: > Can I get puppetrun to trigger a remote run of puppet with the same > result as > logging in to the remote host and running puppetd --test ? Hi John, I just tried 'puppetrun --host xxx' and works as expected. Both machines are runnig Debia

[Puppet Users] Puppet and Amazon EC2

2009-09-14 Thread CaptTofu
Hi all, So far, I'm finding puppet to be quite excellent. I feel a bit novice, despite having done admin and programming for almost two decades. I'm a Perl developer by nature, but am open to learn Ruby and Python. Code all has so many similarities, and I can grok what any code does. The questio

[Puppet Users] Re: Puppet and Amazon EC2

2009-09-14 Thread Robin Sheat
Op dinsdag 15 september 2009 01:29:09 schreef CaptTofu: > * Having the certificate requests for these new instances > automatically signed > * Creating a new node for a new instance, once it is up and I know the > host/ip. As you know, you don't know that until Amazon assigns this. > How could I au

[Puppet Users] Re: modifying a client's config file

2009-09-14 Thread Peter Meier
>>        augeas {"/boot/grub/grub.conf": >>                context => "/files/boot/grub/grub.conf", >>                changes => [ "set timeout 3", >>                        ], >>                require => File["/usr/share/augeas/lenses/grub.aug"] >>                } >> >> Because of a bug in the

[Puppet Users] error starting puppetmaster after upgrade to 0.25.0

2009-09-14 Thread Chris Blumentritt
After an upgrade to 0.25.0 I get the following error: /usr/local/lib/site_ruby/1.8/rubygems.rb:383:in `bin_path': can't find executable puppetmasterd for puppet-0.25.0 (Gem::Exception) from /usr/bin/puppetmasterd:19 Uninstall just 0.25.0 and returning to .0.24.8 and it startup works. I also unins

[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread ELTigre
On Sep 14, 4:00 am, David Schmitt wrote: > Chris Blumentritt wrote: > > The spirit of puppet is to install via the package resource.  You could > > write a shell script to install using a text file as a data source then > > use the exec resource using onlyif to check to see if you need to run > >

[Puppet Users] Re: error starting puppetmaster after upgrade to 0.25.0

2009-09-14 Thread Allan Marcus
see the thread "New 2.5 gem does not create entries into /usr/sbin" --- Thanks, Allan Marcus 505-667-5666 On Sep 14, 2009, at 10:54 AM, Chris Blumentritt wrote: > After an upgrade to 0.25.0 I get

[Puppet Users] commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Richard Wurman
I'm new to puppet in general - I just have a minimal node.pp defined for 2 clients so far. Before I reinvent the wheel ... is there a good web UI to facter that everyone uses? I've looked over foreman and I figure since it's new, it's probably not in widespread use currently. Any suggestions? --~

[Puppet Users] Re: Can puppet handle device files

2009-09-14 Thread Bostjan Skufca
Nice trick. Thans for all the input! b. On Sep 12, 3:42 am, "John A. Barbuto" wrote: > Hi Bostjan, > > On Wed, Sep 9, 2009 at 7:17 PM, Bostjan Skufca > wrote: > > > Hi! > > > I cannot find it in documentation (yet?), but can puppet handle device > > files, in (examplary) form like this: > >

[Puppet Users] Pluginsync always downloads the same unchanged file

2009-09-14 Thread Bostjan Skufca
Hi! I have developed couple of plugins and puppet is syncing them. But it always downloads one particular file disregarding the fact that it has not changed at all. The md5 hash it displays in the log is indeed different, but if I do md5sum on the file it displays the correct hash. Can someone h

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Disconnect
We use iClassify but it has been abandoned upstream. On Mon, Sep 14, 2009 at 1:37 PM, Richard Wurman wrote: > > I'm new to puppet in general - I just have a minimal node.pp defined > for 2 clients so far. Before I reinvent the wheel ... is there a good > web UI to facter that everyone uses? I've

[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread Peter Meier
Hi > I'd like to know at what level we can use puppet to keep systems > up2date. I appreciate if you share some experiences. > :-) we don't use puppet at all to keep systems up2date and I don't think it's a good idea either. Your package manager usually does a much better job. To manage bigger

[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread ELTigre
On Sep 14, 1:56 pm, Peter Meier wrote: > Hi > > > I'd like to know at what level we can use puppet  to keep systems > > up2date. I appreciate if you share some experiences. > > :-) > Hi Pete, Thanks for your soon answer, We've always updated packages of principal services manually and other pac

[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread Nigel Kersten
On Mon, Sep 14, 2009 at 1:12 PM, ELTigre wrote: > > On Sep 14, 1:56 pm, Peter Meier wrote: > > Hi > > > > > I'd like to know at what level we can use puppet to keep systems > > > up2date. I appreciate if you share some experiences. > > > :-) > > > Hi Pete, > Thanks for your soon answer, We've

[Puppet Users] Re: Puppet / EC2 noob question

2009-09-14 Thread dmangot
On Sep 11, 5:07 am, Chris wrote: > Hi all, > > I'm starting to use EC2, and I'm after some examples of best practices/ > tips and tricks from folk with more experience of the Puppet/EC2 combo > than me: > > We're starting by using EC2 for testing and development purposes. This > means that we won

[Puppet Users] Re: Installing a lot of packages

2009-09-14 Thread Jeff Adams
We're a Debian shop, with our own internal repository for controlling packages. We use the unattended-upgrades package to perform upgrades and use puppet to instantiate the whole process using a variant of the recipe at the bottom of this page: http://reductivelabs.com/trac/puppet/wiki/Recipes

[Puppet Users] Re: troubleshooting puppet on Ubuntu

2009-09-14 Thread Silviu Paragina
The warrning is beacause xmlsimple was moved (this is a guess), and for backward compatibility it was left there like require File.dirname(__FILE__) + '/../xmlsimple.rb' I'm guessing that puppet uses both require 'xmlsimple.rb' and require 'lib/xmlsimple.rb'. Long story short because of the '..

[Puppet Users] Re: Puppet status reporting

2009-09-14 Thread Silviu Paragina
Is this the before called GNI? Silviu Ohad Levy wrote: > Hi, > > For future references, the primary website can be found at > http://theforeman.org > > Cheers, > Ohad > > On Mon, Sep 14, 2009 at 6:48 AM, James Turnbull > mailto:ja...@lovedthanlost.net>> wrote: > > > -BEGIN PGP SIGNED

[Puppet Users] Re: What does puppetrun do?

2009-09-14 Thread Silviu Paragina
Never forget (this might be the case) that if the new manifests don't compile the old ones are sometimes sent. I always scratch my head because of that. Silviu grandpa wrote: > I think I might have misunderstood what puppetrun does. > > I've interpreted it as puppetrun triggers a remote run o

[Puppet Users] Re: snmpd v3 class help - need to stop service before copying file and then restart

2009-09-14 Thread Silviu Paragina
An odd workaround Use a secondary file and an exec. Afaik if an exec isn't executed, the resources which depend on the exec aren't applied. So... class snmpd { package { net-snmp: ensure => installed } file { "/etc/snmp/snmpd.bogous.conf": owner => root, group => root,

[Puppet Users] Re: Configuration parse testing

2009-09-14 Thread Tim Uckun
> Be great if these other suggestions made it onto the wiki too. > Done. http://reductivelabs.com/trac/puppet/wiki/Recipes/SubversionCommitHooks I am not the most eloquent person in the world so feel free to modify it as you wish. --~--~-~--~~~---~--~~ You recei

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Tim Uckun
On Tue, Sep 15, 2009 at 5:37 AM, Richard Wurman wrote: > > I'm new to puppet in general - I just have a minimal node.pp defined > for 2 clients so far. Before I reinvent the wheel ... is there a good > web UI to facter that everyone uses? I've looked over foreman and I > figure since it's new, it

[Puppet Users] Controlling the frequency of different tasks.

2009-09-14 Thread Tim Uckun
I know that the puppet client runs the entire catalog at the frequency you decide but... I do think it would be nice to be able a little more fine grained approach to this. For example I might want to ensure that my package => latest is only run once a day or that some other task is run every fiv

[Puppet Users] Re: Controlling the frequency of different tasks.

2009-09-14 Thread Craig Miskell
-- Craig Miskell Senior Systems Administrator Opus International Consultants "People say I'm apathetic but I don't care" Tim Uckun wrote: > I know that the puppet client runs the entire catalog at the frequency > you decide but... > > I do think it would be nice to be able a little more fine gr

[Puppet Users] Re: Controlling the frequency of different tasks.

2009-09-14 Thread Tim Uckun
> Are you perhaps looking for the "schedule" meta-parameter: > http://reductivelabs.com/trac/puppet/wiki/TypeReference#available-metaparameters Yea!. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Puppet status reporting

2009-09-14 Thread Ohad Levy
Yes. Ohad On 9/15/09, Silviu Paragina wrote: > > > Is this the before called GNI? > > > > Silviu > > > Ohad Levy wrote: > > Hi, > > > > For future references, the primary website can be found at > > http://theforeman.org > > > > Cheers, > > Ohad > > > > On Mon, Sep 14, 2009 at 6:48 AM, James Tur

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Ohad Levy
On 9/15/09, Richard Wurman wrote: > > > I'm new to puppet in general - I just have a minimal node.pp defined > for 2 clients so far. Before I reinvent the wheel ... is there a good > web UI to facter that everyone uses? I've looked over foreman and I > figure since it's new, it's probably not in w

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Ohad Levy
On 9/15/09, Tim Uckun wrote: > > > I installed foremen yesterday and it was ridiculously easy to set up. > I haven't figured out how to make it work over WAN or even if it can > yet but as a front end to facter it seems pretty cool. Thanks for the feedback, nice to know :) What do you mean by

[Puppet Users] A couple of persistent errors I can't seem to get rid of.

2009-09-14 Thread Tim Uckun
The puppetmaster reports the following error. err: Report store failed: Invalid group puppet on setting . Valid groups are service. What is it trying to tell me? I have the following set. storeconfigs=true dbadapter = sqlite3 dblocation = /var/puppet/storeconfigs.sqlite tagmap=/etc/puppet/tagma

[Puppet Users] Question on proper use of virtual resources

2009-09-14 Thread Jon Stanley
I'm attempting to use virtual resources to get around multiple definition errors, but it doesn't seem to be working. I need to create a directory structure like "/apps/siteA/instance_1/resin" and "/apps/siteA/instance_2/resin". In reality it's a little more complex, because there are multiple sit

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Tim Uckun
> > What do you mean by over WAN? for facts? reports or both? Neither I think. I mean kick start a machine outside of the local LAN. I have numerous data centers in different countries. My puppermaster is sitting in one country, I want to kick off a new server in another country. Both are behind

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Ohad Levy
On 9/15/09, Tim Uckun wrote: > > > > > > What do you mean by over WAN? for facts? reports or both? > > > Neither I think. I mean kick start a machine outside of the local LAN. > I have numerous data centers in different countries. My puppermaster > is sitting in one country, I want to kick off a

[Puppet Users] Re: A couple of persistent errors I can't seem to get rid of.

2009-09-14 Thread Craig Miskell
Tim Uckun wrote: > The puppetmaster reports the following error. > > err: Report store failed: Invalid group puppet on setting . Valid > groups are service. > > What is it trying to tell me? I have the following set. > > storeconfigs=true > dbadapter = sqlite3 > dblocation = /var/puppet/storeco

[Puppet Users] Re: commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Tim Uckun
> > which kind of graphs? something like how many servers are X or Y etc? Things like memory usage, free disk space etc. Actually since zabbix can be configured to accept, graph, and alert on just about anything you can do things like number of postgres connections, the size of a table, the size

[Puppet Users] Re: A couple of persistent errors I can't seem to get rid of.

2009-09-14 Thread Tim Uckun
> I've seen the same; I saw somewhere (but can't find again) comments from the > puppet devs that if you don't have plugins > to sync, you should turn of pluginsync otherwise you'll get this error > message.  The fix would be so convoluted as to be > ridiculous.  Or something like that.  Damn, w

[Puppet Users] Re: Controlling the frequency of different tasks.

2009-09-14 Thread Greg
Just note that if you want stuff running every 5 minutes, use cron - running Puppet every 5 minutes is generally not practical. Greg On Sep 15, 10:38 am, Tim Uckun wrote: > > Are you perhaps looking for the "schedule" meta-parameter: > >http://reductivelabs.com/trac/puppet/wiki/TypeReference#av