[Puppet Users] Re: How to share my Puppet modules?

2009-11-16 Thread Edwin Shao
Thanks for the feedback. > For the documentation question, the wiki has an answer > :http://www.reductivelabs.com/trac/puppet/wiki/PuppetManifestDocumentation I don't want to document every single module, as I think most of them are self-explanatory. Just the major points of confusion. Do you ha

[Puppet Users] Re: functions in modules and environments on 0.25.1

2009-11-16 Thread Thomas Bellman
John Warburton wrote: > I am trying to find a workaround to get functions to work with > environments in modules as they won't be fully supported until 0.26.x > (http://projects.reductivelabs.com/issues/1175) > > I can't get the workaround in bug #1175 to work - it may only have > worked in 0

[Puppet Users] Apache passenger broke after puppet after upgrade

2009-11-16 Thread Kim Gert Nielsen
Hi, I just upgrade to the next version of puppet (0.25.1-2) and now passenger broke (puppetmaster is still working). I have followed the guide on http://github.com/reductivelabs/puppet/tree/master/ext/rack but still I get a errorcode 500 with the error: support:~# puppetd --test --debug debug:

[Puppet Users] Apache exec a2enmod require

2009-11-16 Thread Matt
Hi, I'm trying to add a require field to my "define apache::module" just like in the recipe http://reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe. But when I run puppet all I got is that error: err: Could not create /usr/sbin/a2enmod php5: Parameter require failed: Invalid rela

[Puppet Users] Re: Apache exec a2enmod require

2009-11-16 Thread Peter Meier
Hi > socle_apache::module { "php5" : ensure => "present", require => > "php5", } require is a metaparameter: http://reductivelabs.com/trac/puppet/wiki/MetaparameterReference If you don't do your own require-parameter then you can make the whole thing a lot more flexible. However you'll need

[Puppet Users] Re: Apache exec a2enmod require

2009-11-16 Thread Peter Meier
>> socle_apache::module { "php5" : ensure => "present", require => >> "php5", } > > require is a metaparameter: > http://reductivelabs.com/trac/puppet/wiki/MetaparameterReference > > If you don't do your own require-parameter then you can make the whole > thing a lot more flexible. However you'll

[Puppet Users] Re: new release of puppetsurvey

2009-11-16 Thread Philip
Thank you for the clue with the max integer Size. Yes i develop on a 64bit System and had no problems converting. Will test it on 32Bit Systems and provide a Patch. The error about the missing argument is fixed in Release 0.2.1 which is available for dowonload now. Greetings Philip On Nov 6, 6:

[Puppet Users] Re: How to share my Puppet modules?

2009-11-16 Thread Dan Bode
Hi Edwin, > a) Add a link on Wiki -- I assume I don't have the necessary > permissions to do so myself and am not sure which pages need to be > updated, so if someone could do this for me, it'd be appreciated. Its great to hear that you want to contribute your modules. I have just added a PuppetM

[Puppet Users] Re: Cannot allocate memory

2009-11-16 Thread Douglas Garstang
On Sun, Nov 15, 2009 at 2:10 PM, Brice Figureau wrote: > > Hi Douglas, > > First, can you bottom post? > It makes way easier to read (long) threads. > > On 15/11/09 22:50, Douglas Garstang wrote: >> I doubt that is my problem. I'm running this in a test environment, >> and I'm doing a full 'servi

[Puppet Users] puppet client error

2009-11-16 Thread Cory mckee
I was wondering if I could get help. on client [r...@linux ~]# puppetd --test --verbose info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run err: //Node[basenode]/motd/Package[motd]/ensure: change from absent to latest failed: Could not update: Could not find pa

[Puppet Users] Re: puppetd 0.24.7-r1 has lots of close_wait connections

2009-11-16 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rjustinwilli...@gmail.com wrote: > The puppet system (not the puppetmaster system) that is running > 0.24.7-r1 is showing multiple close_wait connections. The others are not. > > > I think I can upgrade to 0.24.8-r1, but, am hesitant to do that if i

[Puppet Users] Re: Installing Packages from puppet files

2009-11-16 Thread jokeeffe
yes, it does, starting on my repo now. thanks On Nov 15, 6:52 pm, Avi Miller wrote: > Hi, > > jokeeffe wrote: > > Hi, I'm a puppet newbie. Is there a way to install an rpm from the > > files served by the puppet master? If so, what am I doing wrong (see > > below)? If this isn't possible, how s

[Puppet Users] Re: Cannot allocate memory

2009-11-16 Thread Brice Figureau
On 16/11/09 20:55, Douglas Garstang wrote: > > On Sun, Nov 15, 2009 at 2:10 PM, Brice Figureau > wrote: >> >> Hi Douglas, >> >> First, can you bottom post? >> It makes way easier to read (long) threads. >> >> On 15/11/09 22:50, Douglas Garstang wrote: >>> I doubt that is my problem. I'm running

[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 0.25.1 released!

2009-11-16 Thread Gary Law
2009/10/27 James Turnbull : > Puppet 0.25.1 - code name "zoot" - is now available.  The 0.25.1 release > is a maintenance release in the 0.25.x branch. There are Solaris packages for puppet available here: http://garylaw.net/packages/puppet-0.25.1,REV=2009.11.15-SunOS5.9-all-CSW.pkg.gz and facter

[Puppet Users] Re: Cannot allocate memory

2009-11-16 Thread Ohad Levy
does puppet run at all? e.g. do you see anything on the console? if not, it might be an old facter 1.54 bug? if your puppetd process is using 1.5GB or ram, something is wrong or you are doing way to many file transfers (probably recursive ones). cheers, Ohad On Mon, Nov 16, 2009 at 3:26 AM, Doug

[Puppet Users] Re: master/slave

2009-11-16 Thread Scott Smith
mcn...@cafes.net wrote: > I have two different networks that I'm managing. I would like to set up a > puppetmaster for each network, but it would be nice if I could set up a > master/slave relationship somehow between the two puppetmasters so that I only > have to make changes to one of them and

[Puppet Users] Multiple manifest versions?

2009-11-16 Thread Scott Smith
Hi, Has anyone given thought to the best way to maintain multiple versions of a manifest in a way that allows a client to specify which version it would like to use? I actually thought that's what config_version was for until I read the docs...boo hoo. Seems like it would take some hacking. I

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Ohad Levy
I use environments for that, my environments are build from a selection of modules - e.g.: i have an env called puppetmasters, and the moduledir has the following links: apache2->/etc/puppet/modules/stable/services/apache2_0.2/ collectd->/etc/puppet/modules/stable/services/collectd_0.1/ host-base

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread James Turnbull
2009/11/17 Scott Smith : > > Has anyone given thought to the best way to maintain multiple versions > of a manifest in a way that allows a client to specify which version it > would like to use? I actually thought that's what config_version was for > until I read the docs...boo hoo. > > Seems like

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Scott Smith
James Turnbull wrote: > 2009/11/17 Scott Smith : >> Has anyone given thought to the best way to maintain multiple versions >> of a manifest in a way that allows a client to specify which version it >> would like to use? I actually thought that's what config_version was for >> until I read the docs

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Ohad Levy
never change the puppet.conf manually :) Maybe this can help a bit: http://github.com/ohadlevy/puppet-multipuppetmaster cheers, Ohad On Tue, Nov 17, 2009 at 11:20 AM, Scott Smith wrote: > > J > Yeah, I considered environments. I'd just rather not have to change my > puppetmasters' puppet.conf

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Scott Smith
Ohad Levy wrote: > never change the puppet.conf manually :) > Oh, no. We have some pretty cool deployment tools that I use to deploy puppetmasters. I can also use them to update manifests as if they were config updates to any other app. We have something like 4k or so hosts in prod (and anoth

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Ohad Levy
On Tue, Nov 17, 2009 at 11:33 AM, Scott Smith wrote: > > > Oh, no. We have some pretty cool deployment tools that I use to deploy > puppetmasters. I can also use them to update manifests as if they were > config updates to any other app. > you are not using puppet to manage your puppetmasters?

[Puppet Users] Re: functions in modules and environments on 0.25.1

2009-11-16 Thread John Warburton
2009/11/16 Thomas Bellman > > John Warburton wrote: > > > I am trying to find a workaround to get functions to work with > > environments in modules as they won't be fully supported until 0.26.x > > (http://projects.reductivelabs.com/issues/1175) > > > > I can't get the workaround in bug #1175 to

[Puppet Users] Re: functions in modules and environments on 0.25.1

2009-11-16 Thread Ohad Levy
On Mon, Nov 16, 2009 at 2:01 PM, John Warburton wrote: > Hi All > > I am trying to find a workaround to get functions to work with environments > in modules as they won't be fully supported until 0.26.x ( > http://projects.reductivelabs.com/issues/1175) > > I can't get the workaround in bug #1175

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Carl Caum
I have series of module servers that serve modules to the host. I don't use puppetmasters though. In a nutshell, I have a manifest server called the 'puppeteer' that generates manifests based on meta data stored in a database. Well, it will be in database soon. For now it's in XML files. Th

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Scott Smith
Ohad Levy wrote: > you are not using puppet to manage your puppetmasters? > > Nah, we have a client/server deployment app that performs two primary functions: - allows us to manage software deployments to specific hosts (or a range) from a shell (obviously could be web based too) - maintain

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Ohad Levy
Hi Carl, One thing that I didn't understand, does it means that the nodes you have get only their part of the manifest? or do they get all manifest and apply the right parts? the main issue I have with your approach is that a lot of information is available on the client side (even if there is n

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Carl Caum
No, the manifest is generated per host on the fly. So each manifest only has access to the data for it specifically. That's one advantage of my approach. I maintain the security model of using puppetmasters, but I distribute the work load to the nodes themselves. The manifest that's delivere

[Puppet Users] Puppet ECCN

2009-11-16 Thread ta-hirano
Dear List Members Hi, my name is Takayuki Hirano, and I work at Hitachijoho, Japan. I am writing to ask you what is the export control classification number for the Puppet. (ECCN) I need to know this in order to obtain the legal clearance to embedded Puppet in our test framework. We appreciate

[Puppet Users] Re: Puppet ECCN

2009-11-16 Thread James Turnbull
2009/11/17 : > Hi, my name is Takayuki Hirano, and I work at Hitachijoho, Japan. > I am writing to ask you what is the export control classification number for > the Puppet. (ECCN) > I need to know this in order to obtain the legal clearance to embedded Puppet > in our test framework. > We appr

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Ohad Levy
that sounds interesting, how does it work? in a way, you are reproducing the role of the puppetmaser... On Tue, Nov 17, 2009 at 1:20 PM, Carl Caum wrote: > No, the manifest is generated per host on the fly. So each manifest only > has access to the data for it specifically. That's one advant

[Puppet Users] Re: master/slave

2009-11-16 Thread Dan Bode
On Fri, Nov 13, 2009 at 9:07 AM, mcn...@cafes.net wrote: > > I have two different networks that I'm managing. I would like to set up a > puppetmaster for each network. > In this case, I would recommend the following to simplify things: 1. Use revision control (svn, git, etc.) to manage all of

[Puppet Users] Re: puppet client error

2009-11-16 Thread Dan Bode
Hi Cory, Running the puppet client with --debug will show the underlying system calls that are failing. It looks like the package manager cannot find any packages called motd (I dont think there is a package called motd, this is a login function). Also, a tip. You can use the "puppet" command to

[Puppet Users] Re: Nagios object inheritance

2009-11-16 Thread Dan Bode
Hi Scott, The first thread you referenced looks like someone patched the issue that you are referring to. have you tried setting the $name parameter of the nagios resources? Does this not set the nagios name as expected? Just to be clear, the name variable is the same the title, EX: supercoo

[Puppet Users] Re: puppet client error

2009-11-16 Thread Nicolas Szalay
Le lundi 16 novembre 2009 à 13:07 -0500, Cory mckee a écrit : > I was wondering if I could get help. > > on client > > > [r...@linux ~]# puppetd --test --verbose > info: Caching catalog at /var/lib/puppet/localconfig.yaml > notice: Starting catalog run > err: //Node[basenode]/motd/Package[motd]/

[Puppet Users] Re: How to share my Puppet modules?

2009-11-16 Thread Edwin Shao
Thanks, are there any other pages on the Wiki I need to update, or is that it? Besides the Wiki, are there any other websites I should be listing/marketing my modules/configurations on? - Edwin On Mon, Nov 16, 2009 at 8:25 PM, Dan Bode wrote: > Hi Edwin, > > > > a) Add a link on Wiki -- I as