[Puppet Users] Re: compressing client/server communications

2009-03-26 Thread Jason Rojas
I agree, my puppetmaster running behind passenger averages 40requests per second, and I am serving a lot of files with no splay. So being able to adjust accordingly for servers that get more files might be a good idea. Maybe even an option to just use gzip for file serving instead of normal

[Puppet Users] Re: rpm failing on RHEL4

2009-03-26 Thread Thomas Bikeev
ok, I found it (partially). It is caused by $stdout.reopen(tempfile) in puppet's execute function in utils.rb It's further caused by rb_scan_args in ruby's class.c - did not investigate why exactly ... Here is how to reproduce in irb: require 'tempfile' t = Tempfile.new("puppet") begin $st

[Puppet Users] Re: rpm failing on RHEL4

2009-03-26 Thread Thomas Bikeev
ok, I found it (partially). It is caused by $stdout.reopen(tempfile) in puppet's execute function in utils.rb It's further caused by rb_scan_args in ruby's class.c - did not investigate why exactly ... Here is how to reproduce in irb: require 'tempfile' t = Tempfile.new("puppet") begin $st

[Puppet Users] Re: compressing client/server communications

2009-03-26 Thread Brice Figureau
On 26/03/09 1:56, Ben wrote: > I use, and depend on, puppet extensively and a good portion of the > servers (nodes) are remote, across a WAN. > > I just started a WAN Optimization trial with some Juniper gear, one of > the components of WAN optimization is compression and the puppet > client/s

[Puppet Users] Re: puppetmasterd - dies unpleasantly if getaddrinfo fails

2009-03-26 Thread Kyle Cordes
Luke Kanies wrote: > Can you file the poor failure as a usability bug? > I've only ever seen people needing to set the bindaddress when 0.0.0.0 > couldn't be bound to for some esoteric (i.e., I can't remember) > reason. You doing any funny stuff with your interfaces? Ugh, I can't reproduce

[Puppet Users] Re: LDAP Nodes, Solaris Puppetmaster and SSL/TLS

2009-03-26 Thread Rob McBroom
On 2009-Mar-25, at 5:46 PM, Christopher Webber wrote: > I am using OpenLDAP on both ends. ldapsearch works with both > start_tls and via ssl. It seems that the issue is directly related > to the ruby-ldap libraries. Probably a stupid question, but when you built ruby-ldap, did you specifi

[Puppet Users] Staging puppet server running on my local machine?

2009-03-26 Thread timcharper
I'm wanting to build something along the lines of: * I close the puppetmaster repo locally * I start it up, puppetmasterd --confdir ~/path/to/conf * I ssh in to the machine I want to work with, using ssh -R 8140:127.0.0.1:8140 * Then, on the remote machine, I run puppetd --test --server 127.0.0.1

[Puppet Users] Re: how to override hostname

2009-03-26 Thread timcharper
I've run in to a similar thing. I think you can set --fqdn when running puppetd, you might look in to that. As for us, we aren't using hostnames to select which configuration manifests to apply. We built a little module called custom_facts, which does nothing more but read a small little file ca

[Puppet Users] Re: Staging puppet server running on my local machine?

2009-03-26 Thread Brian Mathis
That's what VMware is for. On Thu, Mar 26, 2009 at 3:52 PM, timcharper wrote: > > I'm wanting to build something along the lines of: > > * I close the puppetmaster repo locally > * I start it up, puppetmasterd --confdir ~/path/to/conf > * I ssh in to the machine I want to work with, using ssh -

[Puppet Users] Re: Staging puppet server running on my local machine?

2009-03-26 Thread Tim Harper
Yes, I recognize that would be a solution, and likely a good one, however I believe in order for us to be able to test puppet changes before committing and pushing them to the server, we'd all have to boot our own series of VM's (in other words, we don't have a single sysadmin). Tim On Thu, Mar

[Puppet Users] Re: Staging puppet server running on my local machine?

2009-03-26 Thread Tim Harper
I didn't articulate my interests. I was trying to see if there was a way I could boot up a local copy of the puppetmaster, so I could edit changes and apply them to a single server without: A) affecting other servers, except for the one I'm targeting, until I'm ready to deploy B) have a working sa

[Puppet Users] Re: Staging puppet server running on my local machine?

2009-03-26 Thread Brian Mathis
You don't need "clusters" to run VMs. They run perfectly fine on a local PC in 256 M of RAM (though a little more is nicer), depending on the guest OS of course. For sysadmins, VMs are the equivalent of CVS and local build tools that developers use. Anyway, glad you found what you needed. On

[Puppet Users] Re: Staging puppet server running on my local machine?

2009-03-26 Thread elijah wright
There's a 'gepetto' github gem that I've been meaning to try out - that solves a number of these problems. Obvious improvements would be making it support something other than qemu. --elijah On Thu, Mar 26, 2009 at 4:50 PM, Tim Harper wrote: > I didn't articulate my interests. I was trying t

[Puppet Users] Which config items can be specified in an environment?

2009-03-26 Thread Tim Harper
I'm trying to set up a sandbox using an environment named 'tim' where I can hack and test without affecting anyone else. My puppet.conf looks like this: [puppetd] pluginsync = true factpath = $vardir/lib/facter server = puppet.weee.com certname = general [puppetmasterd] certname = puppet.weee.co

[Puppet Users] Is there a work around to sandbox the fileserver mounts?

2009-03-26 Thread Tim Harper
... premature send ... When I use this environment (via puppetd --test --environment tim), the unique manifest path takes on effect, however, the fileserverconfig does not, as is evident by it not throwing an error from a completely invalid file contents (picture typing the file by pounding on the

[Puppet Users] Re: compressing client/server communications

2009-03-26 Thread Ben
Ohad Levy wrote: > > I would suggest to have an option to enable/disable it per client, as > my puppetmasters are low on cpu...(e.g. too many clients ;)) > did you file a feature request for it? > > On Thu, Mar 26, 2009 at 2:21 PM, Ben > wrote: > > > L

[Puppet Users] Re: compressing client/server communications

2009-03-26 Thread Ben
Brice Figureau wrote: > On 26/03/09 1:56, Ben wrote: > >> I use, and depend on, puppet extensively and a good portion of the >> servers (nodes) are remote, across a WAN. >> >> I just started a WAN Optimization trial with some Juniper gear, one of >> the components of WAN optimization is compr

[Puppet Users] Re: Is there a work around to sandbox the fileserver mounts?

2009-03-26 Thread Nigel Kersten
Honestly, you just want to put everything in modules if you're using environments, and not use fileserver mounts outside of modules. On Thu, Mar 26, 2009 at 2:43 PM, Tim Harper wrote: > ... premature send ... > When I use this environment (via puppetd --test --environment tim), the > unique man

[Puppet Users] Re: compressing client/server communications

2009-03-26 Thread Kyle Cordes
Ben wrote: > All my clients are RHEL and CentOS so i do not see ruby 1.9 being > available for them until the next major release, i.e. 6. A solution > before then would be helpful. I wish there was an option to install Puppet, along with Ruby and other dependencies, standalone in some direct

[Puppet Users] Re: Is there a work around to sandbox the fileserver mounts?

2009-03-26 Thread Tim Harper
Thank you for the quick tip :) Can you access files in modules from normal non-module manifests? (IE - can I start off by moving all of my file mounts in to a module) ? On Thu, Mar 26, 2009 at 5:00 PM, Nigel Kersten wrote: > > Honestly, you just want to put everything in modules if you're usin

[Puppet Users] Re: Is there a work around to sandbox the fileserver mounts?

2009-03-26 Thread Tim Harper
You know what, I went ahead and tried it, and it worked great. Thanks! Tim On Thu, Mar 26, 2009 at 5:47 PM, Tim Harper wrote: > Thank you for the quick tip :) > Can you access files in modules from normal non-module manifests? (IE - > can I start off by moving all of my file mounts in to a mod