[Puppet Users] Get master manifests and plugins from agents

2011-12-26 Thread Andrey Yakovlev
Hi All, Interesting one point with security point of view of puppet If I turn on caching, the ins and manifestos are cached on the agent and I have just following question Is it possible extract the manifests and plugins from the cache of puppet agent and used on another puppet master, and if so,

Re: [Puppet Users] PE 2.0 server and regular stock puppet client

2011-12-26 Thread John Burbridge
Hello there, I'm having exactly the same issue except I'm trying to install puppet via cloud provisioning... but I think I might have messed up something along the way. My first install was successful except I didn't provide a certname parameter while running "puppet node init" and the default

[Puppet Users] Re: Recommendation for general practice for application deployment?

2011-12-26 Thread Alessandro Franceschi
Puppi (more info here download from here) is a Puppet module made exactly for application deployments. You can deploy war files with a define

Re: [Puppet Users] Re: Best practice for module params in foo::params

2011-12-26 Thread Alessandro Franceschi
Note that you can use hiera to gather and define variables at top level scope and keep the usage of ::vars on your params class. This has the advantage that if you will ever need to change the method you use to give values to the top scope variable, you just have to change the references at top

[Puppet Users] New variable scoping question regarding defines calling defines.

2011-12-26 Thread Trevor Vaughan
I just ran into an interesting scenario where I didn't know how to scope my variables and I'd just like to share for the crowd. Suppose you have two modules 'foo' and 'bar'. You also have two defines, 'foo::do_stuff' and 'bar::more_stuff'. define foo::do_stuff ( $var1 = 'a', $var2 = 'b' ) {

Re: [Puppet Users] PE 2.0 server and regular stock puppet client

2011-12-26 Thread Zidane
On my mind you need to update your puppet agent version and edit /etc/puppetlabs/puppet/puppet.conf: [main] vardir = /var/opt/lib/pe-puppet logdir = /var/log/pe-puppet rundir = /var/run/pe-puppet modulepath = /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules use

[Puppet Users] puppetlabs firewall module

2011-12-26 Thread Jure Pečar
Hello all, I'm trying to implement iptables management via puppet. My goal is to have a set of default rules that get inherited by every node and then a set of modules defining services, where each service definition brings its own additional iptables rules and they should be properly merged t

Re: [Puppet Users] puppetlabs firewall module

2011-12-26 Thread Mark Walkom
It's because puppet doesn't read sequentially but randomly accesses the module/class. You might be able to get around this by using a template. On 27 December 2011 05:13, Jure Pečar wrote: > > Hello all, > > I'm trying to implement iptables management via puppet. My goal is to have > a set of de