Re: [Puppet Users] header for puppet managed files

2010-06-21 Thread Christopher Johnston
Similar setup as well: # pwd /etc/puppet/templates # cat header.erb ## # # # This file is centrally managed, any manual changes will be OVERWRITTEN

Re: [Puppet Users] header for puppet managed files

2010-06-21 Thread Disconnect
That is what we do (and we enforce it by convention rather than technically.) # MANAGED BY PUPPET! # /modules/foo/templates/bar.conf # ..any associated warnings, weirdness (eg template called from other module) etc On files that other groups might be touching, we add something like: # Changes WIL

Re: [Puppet Users] header for puppet managed files

2010-06-21 Thread Joe McDonagh
On 06/20/2010 03:37 PM, Psyber wrote: Anyone have any ideas on adding a default header to puppet managed files and templates? This might be tricky because of the different methods of adding comments for different types of files but I'm certainly open to suggestions that would enforce the existenc

Re: [Puppet Users] header for puppet managed files

2010-06-20 Thread Gabriel Filion
On 2010-06-20 15:50, Patrick Mohr wrote: > > On Jun 20, 2010, at 12:37 PM, Psyber wrote: > >> Anyone have any ideas on adding a default header to puppet managed >> files and templates? >> This might be tricky because of the different methods of adding >> comments for different types of files but

Re: [Puppet Users] header for puppet managed files

2010-06-20 Thread Patrick Mohr
On Jun 20, 2010, at 12:37 PM, Psyber wrote: > Anyone have any ideas on adding a default header to puppet managed > files and templates? > This might be tricky because of the different methods of adding > comments for different types of files but I'm certainly open to > suggestions that would enfo

Re: [Puppet Users] header for puppet managed files

2010-06-20 Thread Gabriel Filion
On 2010-06-20 15:37, Psyber wrote: > Anyone have any ideas on adding a default header to puppet managed > files and templates? > This might be tricky because of the different methods of adding > comments for different types of files but I'm certainly open to > suggestions that would enforce the exi

[Puppet Users] header for puppet managed files

2010-06-20 Thread Psyber
Anyone have any ideas on adding a default header to puppet managed files and templates? This might be tricky because of the different methods of adding comments for different types of files but I'm certainly open to suggestions that would enforce the existence of a header. -- You received this me