Re: [Puppet Users] playing nicely with foreman

2010-07-15 Thread Ohad Levy
usage of defines in node blocks and external nodes never played nicely, your best way at the moment, would be to create classes which you can include via Foreman. (Once hashes becomes part of puppet e.g. in 2.6 - I'm guessing it would be much easier). Ohad On Fri, Jul 16, 2010 at 1:51 AM, Jon Cho

[Puppet Users] playing nicely with foreman

2010-07-15 Thread Jon Choate
I currently have a define for setting up files in /etc/apt/preferences.d for different packages on different machines: define apt::preferences ( $pattern, $pin, $pin_priority) { $cont = "Package: #{pattern} Pin: #{pin} Pin-Priority: #{pin_priority}" file{"