Re: [Puppet Users] struggling with precedence/declarative language

2011-06-28 Thread Cosimo Streppone
On Tue, 28 Jun 2011 20:01:20 +0200, Craig White wrote: The error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter mode at /etc/puppet/modules/firebird/manifests/service.pp:17 on node ubuntu2.ttinet class firebird::service { exec { "Create

Re: [Puppet Users] poor mans puppet, can puppet work with a offline puppetmaster?

2011-04-02 Thread Cosimo Streppone
On Sat, 02 Apr 2011 08:27:35 +1100, Nigel Kersten wrote: On Fri, Apr 1, 2011 at 5:00 AM, S Ahmed wrote: Could I use my local laptop as a puppet master, and only start up the puppetmaster when I have a change I want to send over to the nodes? Say I only have 1 server, and I don't want or eve

Re: [Puppet Users] Unable to sync plugins/custom facts

2011-02-24 Thread Cosimo Streppone
On Thu, 24 Feb 2011 13:19:31 +1100, Brian Cully wrote: When running puppetd and it tries to download plugins I get: err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': hostname not match with the server certificate Hi there, I had a very similar p

Re: [Puppet Users] Ben Hughes

2011-02-20 Thread Cosimo Streppone
On Mon, 14 Feb 2011 10:31:13 +1100, James Turnbull wrote: Ben will initially be based in Melbourne, Australia Is there any puppet users group / hackers meeting of some sort in Melbourne? -- Cosimo -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Master-less : What do I lose?

2011-02-20 Thread Cosimo Streppone
On Wed, 09 Feb 2011 18:28:49 +1100, Felix Frank wrote: On 02/07/2011 06:59 PM, jblaine wrote: I've not found an explanation of what is lost by using Puppet without a puppetmaster. Does anyone have a link to something like that, or is anyone willing to expound on the topic? To throw a few

Re: [Puppet Users] My external node classifier script is totally ignored

2011-01-09 Thread Cosimo Streppone
In data 08 gennaio 2011 alle ore 21:36:48, Daniel Pittman ha scritto: On Sat, Jan 8, 2011 at 12:17, Cosimo Streppone wrote: In data 08 gennaio 2011 alle ore 20:07:20, Nigel Kersten ha scritto: Is between "" exactly what you're printing out?

Re: [Puppet Users] My external node classifier script is totally ignored

2011-01-08 Thread Cosimo Streppone
In data 08 gennaio 2011 alle ore 20:07:20, Nigel Kersten ha scritto: Is between "" exactly what you're printing out? = --- YAML --- classes: - geodns::production::backend environment: production name: z01-06-02 parameters: puppet_server: z01-06-02

Re: [Puppet Users] My external node classifier script is totally ignored

2011-01-07 Thread Cosimo Streppone
In data 07 gennaio 2011 alle ore 23:17:10, Rameses Mss ha scritto: On Fri, Jan 7, 2011 at 9:51 AM, Cosimo Streppone wrote: Only when I modify my site.pp to manually include the given node, then everything starts to work just fine. This is my working site.pp: $server = "z01-

[Puppet Users] My external node classifier script is totally ignored

2011-01-07 Thread Cosimo Streppone
Hi, I just added an external classifier script, and things are not working as I expected to. Trying to read documentation about ext.nodes and searching the archives I couldn't come up with any useful results. My classifier script outputs: --- YAML --- classes: - geodns::production::b

Re: [Puppet Users] Re: How to randomize a template

2011-01-05 Thread Cosimo Streppone
On Wed, 05 Jan 2011 13:59:29 +0100, Rune Stensø wrote: For something that's a bit more generic, you can also just use $RANDOM with sleep. $RANDOM returns between 0 and 32k as a value, and you can use a divider to reduce it. For example, I use 'sleep $(($RANDOM/10)) && do_heavy_stuff' to rando

Re: [Puppet Users] How to randomize a template

2011-01-05 Thread Cosimo Streppone
On Wed, 05 Jan 2011 12:50:41 +0100, Felix Frank wrote: On 01/05/2011 12:49 PM, Cosimo Streppone wrote: About 2), how do I randomize a template and have puppet avoid replacing it whenever there's a new run? Is there a way to do this? Yes. Ideally: http://docs.puppetlabs.com/refer

[Puppet Users] How to randomize a template

2011-01-05 Thread Cosimo Streppone
Here's a problem I didn't really think about for so long. I'm kind of hoping somebody solved it already :) I'm working on a "geoip" module that among other things, installs a cronjob to update the geoip databases periodically. Now the cronjob is just a plain file resource that puppet drops into

Re: [Puppet Users] Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-25 Thread Cosimo Streppone
On Thu, 25 Nov 2010 00:50:30 +0100, Nigel Kersten wrote: I mentioned this in an earlier thread, but here's a dedicated one. We made a big change between 0.24.x and 0.25.x where we moved from XMLRPC to REST. How do people feel about us dropping all XMLRPC support from 2.7.x, such that it onl

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Cosimo Streppone
On Wed, 14 Jul 2010 17:19:33 +0200, Ohad Levy wrote: I use environments for this purpose. the first step is to add versions to your modules, then to automatically generate an environment for that selection of modules (in their respective version) And how do you do that? Tried searching aro

Re: [Puppet Users] Re: Managing producton & backup datacenter

2010-05-06 Thread Cosimo Streppone
On Thu, 06 May 2010 08:54:51 +0200, donavan wrote: > But for more sophisticated puppet setups - what are your ways to determine > which environment you are in. I wrote a custom fact, location, that embeds all the logic in a tiny bit of custom Ruby. (In fact, it just grabs the hostname, do

Re: [Puppet Users] status of cpan provider?

2010-04-28 Thread Cosimo Streppone
On Wed, 28 Apr 2010 17:36:03 +0200, Nigel Kersten wrote: On Tue, Apr 27, 2010 at 5:02 PM, Alan McKay wrote: I was just digging through the archives and found some comments from Sept 2008 about CPAN provider being immature. Personally, I wouldn't want a CPAN provider -- if you can get c

Re: [Puppet Users] status of cpan provider?

2010-04-28 Thread Cosimo Streppone
On Wed, 28 Apr 2010 17:04:30 +0200, Michael DeHaan wrote: On Tue, Apr 27, 2010 at 5:02 PM, Alan McKay wrote: Hi folks, I was just digging through the archives and found some comments from Sept 2008 about CPAN provider being immature. Personally, I wouldn't want a CPAN provider -- if you

Re: [Puppet Users] Replacing a puppet server

2010-03-31 Thread Cosimo Streppone
R.I.Pienaar wrote: All the master needs is the CA that signed the nodes. If you set your masters up that you access them via a CNAME such as 'puppet' all you need to really bother with is making sure your new master is on that name and has the same CA as before. Excuse me for the question, b

[Puppet Users] Checking the status of puppetd run

2010-02-04 Thread Cosimo Streppone
Hi all, I setup a puppetmaster host and several clients. I don't want them to do "stuff" in the background, but just when I tell them to. So for this reason I'm running puppetd manually like this: puppetd --server $SERVER --ignorecache --verbose --onetime --no-daemonize Question 1: when I ru