Issue #4776 has been updated by Markus Roberts.

Status changed from Unreviewed to Accepted

James setting a target version is tantamount to acceptance. 
----------------------------------------
Feature #4776: suppress header comments in files edited by puppet
http://projects.puppetlabs.com/issues/4776

Author: Alan Barrett
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: Statler
Affected version: 
Keywords: 
Branch: 


If I use a puppet "cron" resource, then the following comments get added to the 
top of the user's crontab file:

<pre>
# HEADER: This file was autogenerated at Wed Sep 15 10:45:34 +0200 2010 by 
puppet.
# HEADER: While it can still be managed manually, it is definitely not 
recommended.
# HEADER: Note particularly that the comments starting with 'Puppet Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
</pre>

Similar things happen with ssh authorized keys files, and possibly other 
resources.

I would like a way of suppressing or customising those comments.  In 
particular, the part about "it is definitely not recommended" is not true for 
my use case; puppet cares about a small subset of the file, and editing outside 
that subset is fine.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to