[Puppet Users] Re: Forcing puppetd ask puppemasterd for new changes

2009-07-01 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pavel Shevaev wrote: > On Thu, Jul 2, 2009 at 12:53 AM, Macno wrote: >> Well, since by default the puppet daemon checks the puppetmaster every >> 30 mins (can be reduced, but I don't think it's a great idea on large >> installations) > > Could you pl

[Puppet Users] Generating a file from a set of fragments on the puppetmaster

2009-07-01 Thread Paul Gear
Hi, I'm trying to create a squid url_regex ACL source file for various different sites. Each site needs a slightly different configuration, so my plan was to create the a bunch of files on the server, then drag them down and concatenate them into a single file on the client. I found http://reduc

[Puppet Users] Re: Unable to get storedconfigs to work

2009-07-01 Thread Greg
Might as well... Its an easy enough fix... So long as it doesn't break older versions of rails... Greg On Jul 1, 5:56 pm, Felix Schäfer wrote: > Am 01.07.2009 um 03:24 schrieb Greg: > > > I've gotten it working with 2.3.2... But I did have to put in the > > require lines > > as was mentioned in

[Puppet Users] Re: Puppet reparsing puppet.conf every 24 hours - is this configurable?

2009-07-01 Thread Greg
I don't want to disable reparsing though... I push out a puppet.conf through Puppet, so if I disable reparsing I have to use a service with a refresh option and I'm having trouble keeping Puppet running happily when I use that... Gets stuck with its pants down... Not that the config changes much

[Puppet Users] Re: Forcing puppetd ask puppemasterd for new changes

2009-07-01 Thread Pavel Shevaev
On Thu, Jul 2, 2009 at 12:53 AM, Macno wrote: > > Well, since by default the puppet daemon checks the puppetmaster every > 30 mins (can be reduced, but I don't think it's a great idea on large > installations) Could you please tell me which config option is responsible for that? if you want to t

[Puppet Users] Re: HTTP as a source for files

2009-07-01 Thread Greg
Just did a quick search. Looks like you can put an MD5 checksum into the headers with Apache quite easily: http://httpd.apache.org/docs/2.2/mod/core.html#contentdigest Haven't played with it yet, but the doco does indicate a bit of a performance hit as it doesn't cache the checksums... Not supri

[Puppet Users] Re: Manage Directory/Purge Contents technique not working?

2009-07-01 Thread Joshua Barratt
Answering myself here, Turns out the empty directory you point at DOES need to exist, contrary to the explicit directions in the Wiki. I'll update the wiki. Josh On Wed, Jul 1, 2009 at 8:42 AM, Joshua Barratt wrote: > > Hello all, > > I have done my best to RTFM, and this seems to be exactly th

[Puppet Users] Re: pkg_deploy on Macs - how to maintain "State"

2009-07-01 Thread gregnea...@mac.com
Comments in-line... On Jun 29, 8:40 am, Nigel Kersten wrote: > So along these lines, there are two things I've been thinking about to > improve package distribution with Puppet. > > a) Add a parameter called something like "creates" that would be an > array of files and/or directories that a giv

[Puppet Users] Re: Installing applications using puppet

2009-07-01 Thread Macno
Once I did this class for mailscanner installation, can be an example. class mailscanner { $mailscannerver="MailScanner-4.69.9-2" $mailscannerfile="$mailscannerver.rpm.tar.gz" exec { "mailscanner_prerequisites": command => $operatin

[Puppet Users] Re: Forcing puppetd ask puppemasterd for new changes

2009-07-01 Thread Macno
Well, since by default the puppet daemon checks the puppetmaster every 30 mins (can be reduced, but I don't think it's a great idea on large installations) if you want to trigger a puppetrun whenever you want, puppetrun is the way. This can leave you the option to force the puppet daemon checks (o

[Puppet Users] Re: Login to puppet on IRC

2009-07-01 Thread Avi Miller
Sharada wrote: > Any one able to join puppet chat from : > http://reductivelabs.com/home/irc/ Freenode has banned all web clients[1] except their own. You need to use http://webchat.freenode.net instead. cYa, Avi [1] http://blog.freenode.net/2009/06/new-freenode-webchat-and-why-to-use-it/ -

[Puppet Users] nfs and autofs modules online.

2009-07-01 Thread Udo Waechter
Hey all. I have just published my autofs and nfs modules. The autofs module has a define to manage the autofs-daemon and its mount-maps. That is still a little bit ugly, but works. The nfs-module manages nfs-server(s) (FreeBSD/Debian) and clients (Debian/Darwin). The nfs-module requires the

[Puppet Users] Re: Puppet Implementation

2009-07-01 Thread Pete Emerson
If there is no default config file, you want to put a default config file in place, but otherwise, leave it alone? If so, one way to do it would be to use "unless" or "onlyif" in your recipe. Something like this should work (untested by me), although there may be a "better" way to do it:

[Puppet Users] Re: Login to puppet on IRC

2009-07-01 Thread Pete Emerson
I'm getting the same via Firefox on Mac. Doesn't look like it's browser specific. On Wed, Jul 1, 2009 at 10:35 AM, Sharada wrote: > Any one able to join puppet chat from : > http://reductivelabs.com/home/irc/ > > I tried from IE and Firefox. It says ' Login Terminated' > > > > --~--~-~-

[Puppet Users] Manage Directory/Purge Contents technique not working?

2009-07-01 Thread Joshua Barratt
Hello all, I have done my best to RTFM, and this seems to be exactly the problem I have: http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#i-want-to-manage-a-directory-and-purge-its-contents I am attempting to manage a lighttpd module, so I'd like to manage what's in the the va

[Puppet Users] Puppet Implementation

2009-07-01 Thread Tim Galyean
The company I work for is getting ready to deploy a large puppet configuration into an existing environment. The majority of the servers that this will be deployed on are web servers, however some of them are configured different from the rest. We have a set of default config files for apache, my

[Puppet Users] Manage Directory/Purge Contents technique not working?

2009-07-01 Thread Joshua Barratt
Hello all, I attempted to RTFM on this one but to no avail. (Also, this may be a repost? Google appeared to eat the first email I sent several hours ago.) I am trying to clean out the /etc/lighttpd/sites-enabled directory using this technique: http://reductivelabs.com/trac/puppet/wiki/FrequentlyA

[Puppet Users] Login to puppet on IRC

2009-07-01 Thread Sharada
Any one able to join puppet chat from : http://reductivelabs.com/home/irc/ I tried from IE and Firefox. It says ' Login Terminated' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to thi

[Puppet Users] Multiple default providers for service: init, base; using init

2009-07-01 Thread Pete Emerson
I have a bunch of CentOS machines. In the process of puppetizing one of them I'm getting this warning (more complete debug info at the end): warning: Found multiple default providers for service: init, base; using init info: /Service[gmond]: Provider init does not support features enableable; not

[Puppet Users] Re: Workstations and Certs

2009-07-01 Thread Michael Semcheski
On Wed, Jul 1, 2009 at 12:02 PM, Kurt Engle wrote: > Wouldn't I achieve the same outcome with using a single cert for all > machines without the need for special scripts to delete certs from the > server and delete files from the client? Also, with respect to autosign... > would I really be able t

[Puppet Users] Re: Workstations and Certs

2009-07-01 Thread Nigel Kersten
On Wed, Jul 1, 2009 at 9:02 AM, Kurt Engle wrote: > Thanks for the suggestions. > > Wouldn't I achieve the same outcome with using a single cert for all > machines without the need for special scripts to delete certs from the > server and delete files from the client? I like being able to still r

[Puppet Users] Re: Forcing puppetd ask puppemasterd for new changes

2009-07-01 Thread Pavel Shevaev
On Wed, Jul 1, 2009 at 5:12 PM, Roberto Moral wrote: > > In order to use puppetrun you need to run puppetd with the --listen > option, you will also need a namespaceauth.conf client side > (http://reductivelabs.com/trac/puppet/wiki/NameSpaceAuth > ) > > from http://reductivelabs.com/trac/puppet/w

[Puppet Users] Re: Workstations and Certs

2009-07-01 Thread Kurt Engle
Thanks for the suggestions. Wouldn't I achieve the same outcome with using a single cert for all machines without the need for special scripts to delete certs from the server and delete files from the client? Also, with respect to autosign... would I really be able to turn it off using the SSH met

[Puppet Users] Re: divide puppet structure

2009-07-01 Thread Arnau Bria
On Wed, 1 Jul 2009 12:02:40 +0200 Arnau Bria wrote: > Hi all, > something like: > > /puppet/manifests/ > site.pp: > include other_servicesA/site.pp > include other_servicesB/site.pp > import "module A" > > /puppet/manifests/other_servicesA: >

[Puppet Users] Stored configs, external node classifier, classes/modules not going away

2009-07-01 Thread Jason Antman
Hi, I'm using stored configs (MySQL) and an external node classifier script (just a simple web tool and MySQL backend). It seems that it's impossible for me to remove a module from a given host - if I attempt to do so, despite it being removed from the node classifier database perfectly, the modu

[Puppet Users] firewall ports to be opened in between client and master?

2009-07-01 Thread Jason Amato
I have a firewall in between a number of client servers and the puppetmaster. What ports does my firewall guy need to open up in order for push (puppetrun) and pulls to work and in which direction (master -> client or vice versa), please? I see ports: 1110 client open up on the client during a p

[Puppet Users] Re: Forcing puppetd ask puppemasterd for new changes

2009-07-01 Thread Roberto Moral
In order to use puppetrun you need to run puppetd with the --listen option, you will also need a namespaceauth.conf client side (http://reductivelabs.com/trac/puppet/wiki/NameSpaceAuth ) from http://reductivelabs.com/trac/puppet/wiki/PuppetExecutables#id7 puppetd Puppet's agent. It does not

[Puppet Users] Forcing puppetd ask puppemasterd for new changes

2009-07-01 Thread Pavel Shevaev
Guys, I seriously could not find this topic in the documentation. What do you do when you need to force puppetd hosts get the new settings from puppetmasterd? What I found was only sending USR1 signal to the client process in order to make it refresh its configuration from the master. But I find

[Puppet Users] Re: HTTP as a source for files

2009-07-01 Thread David Schmitt
Robin Sheat wrote: > On Wednesday 01 July 2009 14:14:36 Greg wrote: >> The main question would be in terms of how to detect file changes >> without a full transfer - HTTP does provide some mechanisms for >> checking this, but I'm not sure if they would be adequate if scripting >> responses through

[Puppet Users] Re: HTTP as a source for files

2009-07-01 Thread Robin Sheat
On Wednesday 01 July 2009 14:14:36 Greg wrote: > The main question would be in terms of how to detect file changes > without a full transfer - HTTP does provide some mechanisms for > checking this, but I'm not sure if they would be adequate if scripting > responses through HTTP... I use S3 as a fi

[Puppet Users] divide puppet structure

2009-07-01 Thread Arnau Bria
Hi all, I'll open my puppet server to other services in my office, but I'd like to allow each service to only be able to modify its confs. I know there are a couple of files that i cannot split, like fileserver or autosing or puppet.conf, but it's a minor problem. I'm worried about site and node

[Puppet Users] Re: Variable named "memory" in templates

2009-07-01 Thread Peter Meier
> I'll file this as a bug then, probably later today. yeah, good idea. cheers pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegrou

[Puppet Users] Re: Variable named "memory" in templates

2009-07-01 Thread Thomas Bellman
David Schmitt wrote: > Peter Meier wrote: >> it looks like memory is somehow a special variable (dunno why), but if >> you don't name your variable memory, it works. > $memory is a fact containing amount of memory on the client. No, it isn't. At least not a fact that facter (version 1.5.5) re

[Puppet Users] Re: Variable named "memory" in templates

2009-07-01 Thread David Schmitt
Peter Meier wrote: > Hi > Why can't I access $memory like other variables? From where does the value I do get come from? >>> it looks like memory is somehow a special variable (dunno why), but if >>> you don't name your variable memory, it works. >> $memory is a fact containing amount

[Puppet Users] Re: HTTP as a source for files

2009-07-01 Thread Julian Simpson
I like the idea of HTTP if it gets me closer to stubbing out the puppetmaster when I'm developing manifests. Thinking I could stand up a webrick server to resolve all the file sources. Of course, I'd use Apache or Nginx in production. J. 2009/7/1 Marc Fournier : > > > Hello, > >> I've been loo

[Puppet Users] Re: Variable named "memory" in templates

2009-07-01 Thread Peter Meier
Hi >>> Why can't I access $memory like other variables? From where does the >>> value I do get come from? >> >> it looks like memory is somehow a special variable (dunno why), but if >> you don't name your variable memory, it works. > > $memory is a fact containing amount of memory on the client

[Puppet Users] Re: Variable named "memory" in templates

2009-07-01 Thread David Schmitt
Peter Meier wrote: > Hi > >> Why can't I access $memory like other variables? From where does the >> value I do get come from? > > it looks like memory is somehow a special variable (dunno why), but if > you don't name your variable memory, it works. $memory is a fact containing amount of memo

[Puppet Users] Re: yum provider executes rpm -e?

2009-07-01 Thread David Schmitt
Peter Meier wrote: > Hi > >>> yeah I also thought that. On the other side installing things (which >>> will install a bunch of dependecies) is also an unexpected result >>> somehow, as the dependencies aren't managed by puppet. For sure this >>> result isn't that worse as uninstall, but I don't t

[Puppet Users] Re: HTTP as a source for files

2009-07-01 Thread Marc Fournier
Hello, > I've been looking into having Puppet deploy some larger files and I'm > noticing that it ties up puppetmasters quite a bit and can often > result in a timeout if the file is too large. Before I submit a > feature request for a http method for file sources, I would throw it > out to the

[Puppet Users] Re: Unable to get storedconfigs to work

2009-07-01 Thread Felix Schäfer
Am 01.07.2009 um 03:24 schrieb Greg: > I've gotten it working with 2.3.2... But I did have to put in the > require lines > as was mentioned in a previous message... I must say that I'm not very happy with this solution as it seems more hackish than anything, but it does work when adding the

[Puppet Users] Re: HTTP as a source for files

2009-07-01 Thread Peter Meier
Hi > I've been looking into having Puppet deploy some larger files and I'm > noticing that it ties up puppetmasters quite a bit and can often > result in a timeout if the file is too large. Before I submit a > feature request for a http method for file sources, I would throw it > out to the group

[Puppet Users] Re: puppetmaster behind NAT

2009-07-01 Thread Peter Meier
Hi >> the puppet masters cert and CA needs to contain the public FQDN as well. >> use certnames (see ConfigurationReference [1]) to include both domains, >> local and public. This will mean that you need to regenerate the certs, >> as well to resign all clients. > > > Thanks again, it worked ju