Re: [Puppet Users] Rebuilding machines from foreman

2010-03-15 Thread LOhit
After upgrading to 0.1-4, I ran into the same problem. *"Failed to enable hostname_here for installation"* * * But, this time around, I don't see any messages/logs regarding the error. Link gets created in the TFTP directory, but nothing else. I have gone through the change log, I even tried chang

[Puppet Users] managing secondary groups

2010-03-15 Thread Dick Davies
Offhand, does anyone know the difference between the 2 constructs below to manage secondary groups ? This is the 'groupadd' provider I think (CentOS). Think I'd prefer the former if the result is the same (I create these users in a definition and it's simpler to not touch it). group { "foo":

Re: [Puppet Users] Rebuilding machines from foreman

2010-03-15 Thread Ohad Levy
Hi, I would assume that you cant execute puppetca (e.g. sudo permissions etc), can you double check if there is nothing in the log files? probably its best to continue this discussion at foreman users or #theforeman on irc. cheers, Ohad On Mon, Mar 15, 2010 at 4:51 PM, LOhit wrote: > After up

Re: [Puppet Users] managing secondary groups

2010-03-15 Thread Bruce Richardson
On Mon, Mar 15, 2010 at 09:31:54AM +, Dick Davies wrote: > Offhand, does anyone know the difference between the 2 > constructs below to manage secondary groups ? > This is the 'groupadd' provider I think (CentOS). > Think I'd prefer the former if the result is the same The result will be the

Re: [Puppet Users] multiple environments different manifests not working: solved!

2010-03-15 Thread Hubert Krause
Hello James, Am Friday 12 March 2010 21:49:02 schrieb James Turnbull: > > the reason for ignoring the different manifests was a setting > > in /etc/sysconfig/puppetmaster. The settings name is > > "PUPPETMASTER_MANIFEST" and was set to my "production" site.pp. Because > > of my switch back to webb

Re: [Puppet Users] Rebuilding machines from foreman

2010-03-15 Thread LOhit
Hi, Sure, we can take it up on the irc channel. However, just for the record, sudo permission is fine, it was a working setup prior to upgrade. And the user the foreman runs as, can execute "puppetca", I tested it from the command line to make sure. Best regards, -LOhit On Mon, Mar 15, 2010 at

[Puppet Users] Apps that are using facter as a library or shell out to facter?

2010-03-15 Thread Michael DeHaan
As we're pondering future enhancements to facter, it seems useful to better understand things (other than Puppet) that are using facter. Do you have a script/application that shells out to facter or uses it from as a Ruby library to collect information? (I'm aware of mcollective supporting facte

Re: [Puppet Users] Using Puppet for application deployment

2010-03-15 Thread Michael DeHaan
> that are very much procedural while Puppet manifest are more > useful on a description of required software level. Sort of. The long story is that we don't have a really native feeling way to model multinode deployments and workflow now, but we can think of modeling it based on a set of checkpo

Re: [Puppet Users] Re: migating from 0.24.8 to 0.25.0rc1

2010-03-15 Thread Gustavo Soares
sorry for the late reply :) but yes, I have switched to passenger. Gus On Tue, Sep 29, 2009 at 5:22 PM, Chris Westin wrote: > > I'm getting similar messages about cacrl, even though I haven't set > it. Did switching to passenger fix the problem? Or did you find > another way to fix it? > > I

Re: [Puppet Users] disable ssl

2010-03-15 Thread Christopher Johnston
Yea right now I am not using environments, I would like to move to either passenger or mongrel for a more scalable setup (although I have heard mongrel has issue with memory leaks). On Sun, Mar 14, 2010 at 1:53 PM, Nigel Kersten wrote: > On Sat, Mar 13, 2010 at 11:33 AM, Christopher Johnston > w

Re: [Puppet Users] disable ssl

2010-03-15 Thread Christopher Johnston
I will keep that in mind, ideally I would like to keep SSL in place for security purposes I was really looking for a quick hack/slash to disable SSL for the time being just to get past some auth issues. Longer term though from a scalability POV, I will in the end have over 24-30 puppetmasters acro

Re: [Puppet Users] disable ssl

2010-03-15 Thread Ohad Levy
ssl has nothing to do with mongrel or passenger, as ssl is handled in apache (or ngnix). as far as it goes for SSL, you have two options: 1. a single CA 2. CA chain hierarchy. the first option is simple, one of your puppetmasters will be your CA, and every sign will run on it, you would require i

Re: [Puppet Users] Re: Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-03-15 Thread Silviu Paragina
On 12.03.2010 22:34, Nigel Kersten wrote: For those people following along at home on this issue, Lucas Nussbaum chased it up on behalf of Debian and has just gotten a patch uploaded to Debian that resolves this problem. http://redmine.ruby-lang.org/issues/show/2739 Kudos for Lucas and tha

Re: [Puppet Users] push file once

2010-03-15 Thread Jon Fautley
On Sun, 14 Mar 2010 19:11:26 +0100 Peter Meier wrote: > have a look at the replace option of the file resource: > http://docs.reductivelabs.com/references/stable/type.html#file I've done similar things with custom facts sent from the client at system build time. i.e. during the initial puppet

Re: [Puppet Users] Puppet Wiki Migrated from Trac to Redmine

2010-03-15 Thread Derek Yarnell
All I want to say is thanks, I found Trac and its searching to be such a PITA. This was such a pleasant surprise :) -- --- Derek T. Yarnell University of Maryland Institute for Advanced Computer Studies -- You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] Failed to generate additional resources using 'eval_generate': end of file reached

2010-03-15 Thread Kent Rankin
We keep getting a variety of these from a random set during each Puppet run: Sat Mar 13 23:46:42 -0500 2010 //cups/File[/etc/cups] (err): Failed to generate additional resources using 'eval_generate': end of file reached It seems like there is a 30% chance of a host providing this on any given ma

Re: [Puppet Users] Tons of "configuration version" reports

2010-03-15 Thread Kent Rankin
I nearly forgot to write in that we removed the puppet client (EPEL) and reinstalled, and the --verbose went away. We never did figure out where it was coming from, though. Thanks for everyone's help. On Tue, Mar 9, 2010 at 5:34 PM, Todd Zullinger wrote: > Kent Rankin wrote: >> [r...@ ~]#

Re: [Puppet Users] Apps that are using facter as a library or shell out to facter?

2010-03-15 Thread R.I.Pienaar
'lo, - "Michael DeHaan" wrote: > Do you have a script/application that shells out to facter or uses it > from as a Ruby library to collect information? (I'm aware of > mcollective supporting facter, but that's about it). my biggest hassle with it is that it's quite slow. Though I guess t

Re: [Puppet Users] Apps that are using facter as a library or shell out to facter?

2010-03-15 Thread Paul Nasrat
On 15 March 2010 17:26, R.I.Pienaar wrote: > 'lo, > > - "Michael DeHaan" wrote: > >> Do you have a script/application that shells out to facter or uses it >> from as a Ruby library to collect information?   (I'm aware of >> mcollective supporting facter, but that's about it). > > my biggest h

Re: [Puppet Users] Apps that are using facter as a library or shell out to facter?

2010-03-15 Thread Michael DeHaan
> Yeah that's certainly one of the things I want to do, as is if we're > calling out to a command to parse it and can cache/process it in one > time as opposed to calling a billion ifconfig/dmidecodes that'd be > good too. Yep, if you're shelling out or executing 'puppet' without the daemon, in me

Re: [Puppet Users] disable ssl

2010-03-15 Thread Patrick
On Mar 15, 2010, at 8:26 AM, Ohad Levy wrote: > ssl has nothing to do with mongrel or passenger, as ssl is handled in apache > (or ngnix). > > as far as it goes for SSL, you have two options: > 1. a single CA > 2. CA chain hierarchy. > > the first option is simple, one of your puppetmasters wi

[Puppet Users] seg fault after client upgrade

2010-03-15 Thread Len Rugen
We updated our server last week to 25.4 and have updated a few clients. I've got one now that is irritated: info: Caching catalog for /usr/lib64/ruby/1.8/yaml/rubytypes.rb:315: [BUG] Segmentation fault ruby 1.8.1 (2003-12-25) [x86_64-linux-gnu] Any thoughts? -- You received this message becaus

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Todd Zullinger
Len Rugen wrote: > We updated our server last week to 25.4 and have updated a few clients. > I've got one now that is irritated: > > info: Caching catalog for > /usr/lib64/ruby/1.8/yaml/rubytypes.rb:315: [BUG] Segmentation fault > ruby 1.8.1 (2003-12-25) [x86_64-linux-gnu] > > Any thoughts? Yuck.

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Len Rugen
Who tests on old rhel4 systems :-) Thanks On Mon, Mar 15, 2010 at 2:47 PM, Todd Zullinger wrote: > Len Rugen wrote: > > We updated our server last week to 25.4 and have updated a few clients. > > I've got one now that is irritated: > > > > info: Caching catalog for > > /usr/lib64/ruby/1.8/yam

[Puppet Users] Package Providers for OD X Server

2010-03-15 Thread Gary Larizza Jr.
Hi Everyone, I'm curious to see how many people are running puppetmasterd on OS X Server. I'm trying to cement a recipe for my puppetmasters (10.5 Servers), and I'm finding that many modules port over well but certain things fall short due to the Mac's package providers. Visiti

Re: [Puppet Users] Package Providers for OD X Server

2010-03-15 Thread Nigel Kersten
On Mon, Mar 15, 2010 at 1:12 PM, Gary Larizza Jr. wrote: > Hi Everyone, > I'm curious to see how many people are running puppetmasterd on OS X Server. >  I'm trying to cement a recipe for my puppetmasters (10.5 Servers), and I'm > finding that many modules port over well but certain things fall sh

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Len Rugen
Will the fix be on the client or server side? On Mon, Mar 15, 2010 at 3:07 PM, Len Rugen wrote: > Who tests on old rhel4 systems :-) > > Thanks > > On Mon, Mar 15, 2010 at 2:47 PM, Todd Zullinger wrote: > >> Len Rugen wrote: >> > We updated our server last week to 25.4 and have updated a few

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Trevor Hemsley
I think this might be a ruby problem due to that being such an ancient version. There are Centos 4 packages for ruby 1.8.5 which might help. $ ls /var/www/cobbler/localmirror/ruby/ ruby-1.8.5-5.el4.centos.1.i386.rpm ruby-mode-1.8.5-5.el4.centos.1.i386.rpm ruby-irb-1.8.5-5.el4.centos.1.i38

Re: [Puppet Users] Package Providers for OD X Server

2010-03-15 Thread Gary Larizza Jr.
On Mar 15, 2010, at 4:20 PM, Nigel Kersten wrote: > We always create our own pkg installs. It's well worth it. > > Have you look at Luggage Gary? It's the open source project for our > internal tool we use for Makefiles to build packages. > > http://luggage.apesseekingknowledge.net/ I've defin

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Len Rugen
I only had ruby, ruby-dev & ruby-libs, after installing those, pupport works except it seems to have lost the ruby-shadow function: info: /User[root]: Provider useradd does not support features manages_passwords; not managing attribute password On Mon, Mar 15, 2010 at 3:54 PM, Trevor Hemsley wro

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Trevor Hemsley
http://projects.reductivelabs.com/projects/puppet/wiki/Puppet_Red_Hat_Centos Len Rugen wrote: I only had ruby, ruby-dev & ruby-libs, after installing those, pupport works except it seems to have lost the ruby-shadow function: info: /User[root]: Provider useradd does not support features manag

Re: [Puppet Users] disable ssl

2010-03-15 Thread Christopher Johnston
Yes, I am aware that by going with mongrel/passenger as it will be handled by mod_ssl. I setup mongrel in my lab today, didn't take much to get going (puppet wiki was VERY helpful). Unfortunately passenger doesn't look to be packaged up other then in a gem (didn't investigate further then a quick

Re: [Puppet Users] disable ssl

2010-03-15 Thread Isaac Christoffersen
If you're using Red Hat/Fedora flavors of Linux, you can use Kanarip's Repository to get mod_passenger and other rubygem rpm repackagings - http://www.kanarip.com/custom/ On 3/15/10 6:14 PM, Christopher Johnston wrote: Yes, I am aware that by going with mongrel/passenger as it will be handled

Re: [Puppet Users] seg fault after client upgrade

2010-03-15 Thread Ohad Levy
this breaks because puppet still uses YAML for the local catalog cache. the best way to solve it now is by upgrading your ruby (or installing a newer ruby next to the old one). I do it for RHE3 machines, seems like it also must be done for RHEL4 as its seems low prio for RL. cheers, Ohad On Tue

[Puppet Users] I'm make a chinese wiki

2010-03-15 Thread huangming...@gmail.com
hello,guys is there any body com from china ? i had just start a chinese wiki for puppet. http://puppet.wikidot.com. 如果有兴趣,可以一起把wiki做起来,把puppet推荐给更多的中国的系统管理员. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, se

[Puppet Users] Choosing the web server

2010-03-15 Thread Smain Kahlouch
Hi everybody, I just want to know what is the best web server between passenger and mongrel. I don't understand what are the benefits of each solution. Do you have a part of the answer please? Regards. Grifith -- You received this message because you are subscribed to the Google Groups "Puppe