Re: [Puppet Users] Re: Diff-style patches

2011-02-23 Thread Jonathan Beckman
Take a look at augeas: It can match based on various information and append/change/delete lines from the configuration file. On Tue, Feb 22, 2011 at 11:05 PM, Ken Barber wrote: > You can use a file resource to copy a diff to a temp/

Re: [Puppet Users] custom type with cool source parameter

2011-02-18 Thread Jonathan Beckman
http://docs.puppetlabs.com/guides/modules.html <-- I guess you want to define your own module. On Fri, Feb 18, 2011 at 4:17 PM, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: > Felix, thanks for your quick reply, but I'm trying to write a new type, > not use the file type. I've done stuff like

Re: [Puppet Users] CPAN provider

2011-02-18 Thread Jonathan Beckman
On Fri, Feb 18, 2011 at 3:27 PM, Dean Wilson wrote: > It might be worth having a look at cpanm. It's a lot smaller and probably > easier to drive. > > http://search.cpan.org/~miyagawa/App-cpanminus-1.2001/bin/cpanm Yeah, I'm currently using a ugly "define" hack with cpanm. Problem is that there t

[Puppet Users] CPAN provider

2011-02-18 Thread Jonathan Beckman
ore are welcome): * Provisioning it through puppet?(prefered solution, no external deps) * How do I do this properly for a package provider? * Packaging it for systems(RHEL, Fedora, Debian, etc)... * Just telling people to deploy it through whatever means. -- Jonathan Beckman -- You receiv