Re: [Puppet Users] How to manage many nodes easily?

2011-06-21 Thread Carles Amigó
We had the same problem and we just separated each node (or group of nodes) in one file and then we load them using the following syntax: import "nodes/*.pp" You could also organize those files in subdirectories if you like so: import "nodes/*/*.pp" The only problem we've foun

[Puppet Users] Foreman push_facts script

2011-11-30 Thread Carles Amigó
Installing the new version of Foreman in our current Puppet environment and I don't really want to share the same database as we rely so much in exported resources. As I've read in http://theforeman.org/projects/foreman/wiki/Puppet_Facts it's possible to push the Puppet facts using the "push_fact

[Puppet Users] exported resources when cannot compile catalog

2011-12-02 Thread Carles Amigó
When for some reason the catalog compilation fails and the cached version is used on one node, all the exported resources from this node appear to be deleted from the master and the node realizing those resources acts as they don't exist, deleting them... For instance, we have a node "A" expor

[Puppet Users] Use MySQL replication with stored configs

2010-12-22 Thread Carles Amigó
er? Has anyone tried this architecture? Cheers -- Carles Amigó fr...@fr3nd.net http://www.fr3nd.net Hey dol! merry dol! ring a dong dillo! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

Re: [Puppet Users] Use MySQL replication with stored configs

2010-12-27 Thread Carles Amigó
he moment afaik, its not doable. are you using store config for collection or just for inventory? there are a few other options for both requirements without having your central db blocking puppet. Ohad 2010/12/22 Carles Amigó mailto:fr...@fr3nd.net>> Hello, I'm configuring an

Re: [Puppet Users] Use MySQL replication with stored configs

2010-12-29 Thread Carles Amigó
Thanks. I'll give it a shot :) El 28/12/2010 17:40, Ohad Levy escribió: 2010/12/27 Carles Amigó mailto:carles.am...@softonic.com>> Couldn't find any related thread... We're using it mainly for collection so far (ie: nagios), but in the future we'll pro

Re: [Puppet Users] Re: Considerations for puppet/cluster to manage 6000 hosts.

2011-01-11 Thread Carles Amigó
es of 300 > resources: 6s with "full" storeconfigs, 3-4s with 'thin' storeconfigs, > and 2s without. > > What data is exactly discarded with "thin" storeconfigs? -- Carles Amigó fr...@fr3nd.net http://www.fr3nd.net Hey dol! merry dol! ring a dong dillo!

Re: [Puppet Users] Re: Do we need a new name for "--test"?

2011-01-24 Thread Carles Amigó
+1 El 24/01/2011 9:13, Daniel Pittman escribió: On Sun, Jan 23, 2011 at 23:36, Stig Sandbeck Mathisen wrote: Jesse Reynolds writes: --manual Looks better than --interactive, since I don't assume it will start asking me questions. :) I like it too. Daniel -- Carles Amigó

[Puppet Users] Exported resources with more than one condition

2011-01-28 Thread Carles Amigó
When trying to use more than one condition in exported resources doing something like this: File <<| tag == $fqdn and title == "/etc/passwd" |>> I'm getting the following error in puppet: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet does not currently suppor

Re: [Puppet Users] Re: [Puppet-dev] RFC: Splitting up the file{} type functionality.

2011-03-30 Thread Carles Amigó
I tend to use different defaults for the different types, so I would love to be able to do: File { mode => 0444 } Directory { mode => 0555 } This is not necessary at all. If you assign "mode => 444" to a directory, Puppet will automatically set the "execution" permission so

[Puppet Users] Inheritance in parametrized classes

2011-05-20 Thread Carles Amigó
Hi, I'm trying to pass a parameter different from the default to the child of a parametrized class with inheritance, but the inherited code from the parent class doesn't seem to be taking the correct parameter. For example, in the following code: class parent ( $foo = "bar" ) { notice("

Re: [Puppet Users] Re: Inheritance in parametrized classes

2011-05-24 Thread Carles Amigó
"Correct" is such a nuanced word. I don't know whether the observed behavior is by design, but I don't find it surprising. I would not have found your expected behavior surprising either, however. You may be able to achieve your desired result like this: class { "parent": foo => "test" } clas

[Puppet Users] know what the master is currently doing

2011-05-31 Thread Carles Amigó
Hi Is there any way to see which catalog is currently compiling the puppet master? The puppetmaster log only shows the catalog when it's been already compiled, not when it starts compiling it. In our configuration, we have many puppet masters running after a nginx and it would be useful to