Re: [Puppet Users] Re: Exporting a resource only once....

2014-01-24 Thread Lorenzo Salvadorini
Basically my situation is the following: - A database server - Several web application servers. We have a similar environment and the solution we adopted is very simple: put the if ! defined inside the exported resource and of course make the name of the resource unique between the web

Re: [Puppet Users] Re: Puppermaster certificate expired

2013-05-09 Thread Lorenzo Salvadorini
2013/5/9 Nicolai Mollerup nicolai.molle...@gmail.com Anyway I think the easy way is to setup some autosigning of clients after creating a new CA. Think you will have to clean the ssl-dir on clients for this to work, though. Since we are going to make a brand new puppetmaster here sometime

Re: [Puppet Users] Re: Overriding variables.

2012-09-26 Thread Lorenzo Salvadorini
I've solved the identical problem using defines instead of classes. I know that hiera can be a better solution, but I'm waiting for next major release to adopt hiera. I've a generic nrpe::check define: each check is a define that use this generic definition, so my check_load.pp in nrpe module is

Re: [Puppet Users] puppet doc problem.

2012-07-03 Thread Lorenzo Salvadorini
Additionally, when I try to use an rdoc type I either am not getting any output or can't find it. $puppet doc -m rdoc --manifestdir /etc/puppet/environments/test/manifests/ --modulepath /etc/puppet/environments/test/modules/ --outputdir /home/snip/puppetdoc/rdoc/

Re: [Puppet Users] Re: Autoscaling with Puppet

2012-06-05 Thread Lorenzo Salvadorini
What are other users doing with autoscale to define their nodes.pp? A wildcard match? Basing replies off a custom fact like this? I'm already looking at using a non-fqdn based certname via user-data... but that general part in autoscale is a bit obscured for me. I use the certname (=FQDN)

Re: [Puppet Users] Autoscaling with Puppet

2012-05-14 Thread Lorenzo Salvadorini
http://scalr.net/ I think they did away with the free version of it recently. But if you ask me what they're asking is well worth it! Autoscales up and down based on server load. Works with both AWS and rackspace cloud. -tim On Sun, May 13, 2012 at 9:28 PM, de dustye...@gmail.com wrote:

[Puppet Users] Exporting local resources

2012-01-26 Thread Lorenzo Salvadorini
Hi all, can I export a file present on a puppet client not created by puppet itself? In example: On host A I have a file /var/www/my_intranet_site/htusers that I like to have on host B too class exporter { @@file { /var/www/my_intranet_site/htusers: tag = basic_auth_users,