[Puppet Users] Re: Generating a file from a set of fragments on the puppetmaster

2009-07-15 Thread Burkholder, Peter
age- > From: puppet-users@googlegroups.com > [mailto:puppet-us...@googlegroups.com] On Behalf Of Paul Gear > Sent: Wednesday, July 15, 2009 1:29 AM > To: puppet-users@googlegroups.com > Subject: [Puppet Users] Re: Generating a file from a set of > fragments on

[Puppet Users] Re: Generating a file from a set of fragments on the puppetmaster

2009-07-14 Thread Paul Gear
Paul Gear wrote: > ... > > Thanks for the suggestions on this. I ended up going with a templated > solution that uses a bit of Ruby to intelligently grab files in on the > server. I've documented my efforts here: > > http://reductivelabs.com/trac/puppet/wiki/Recipes/SquidConfiguration > > Any

[Puppet Users] Re: Generating a file from a set of fragments on the puppetmaster

2009-07-10 Thread Paul Gear
Paul Gear wrote: > Hi, > > I'm trying to create a squid url_regex ACL source file for various > different sites. Each site needs a slightly different configuration, so > my plan was to create the a bunch of files on the server, then drag them > down and concatenate them into a single file on the

[Puppet Users] Re: Generating a file from a set of fragments on the puppetmaster

2009-07-06 Thread korymatu
My understanding is that there are a series of files that exist on the server. Each contains information that is needed by various nodes. All nodes need some of the files; but not all nodes need all of the files. Based on what I think you are trying to get done, I would probably use generate...

[Puppet Users] Re: Generating a file from a set of fragments on the puppetmaster

2009-07-03 Thread David Schmitt
Paul Gear wrote: > David Schmitt wrote: >> ... >>> I'd rather not distribute the entire directory from the server, since it >>> contains custom content for each node. Is there a way i can do this >>> with templates that include other files? (Or templates that are plain >>> text rather than .erb?

[Puppet Users] Re: Generating a file from a set of fragments on the puppetmaster

2009-07-02 Thread Paul Gear
David Schmitt wrote: > ... >> I'd rather not distribute the entire directory from the server, since it >> contains custom content for each node. Is there a way i can do this >> with templates that include other files? (Or templates that are plain >> text rather than .erb?) I'd really like to fi

[Puppet Users] Re: Generating a file from a set of fragments on the puppetmaster

2009-07-02 Thread David Schmitt
Paul Gear wrote: > Hi, > > I'm trying to create a squid url_regex ACL source file for various > different sites. Each site needs a slightly different configuration, so > my plan was to create the a bunch of files on the server, then drag them > down and concatenate them into a single file on the