Issue #5300 has been updated by Nick Moffitt.
I have updated everything to 2.6.3, and the problem persists. ---------------------------------------- Bug #5300: Header in exported ssh_authorized_keys changes even when contents do not https://projects.puppetlabs.com/issues/5300 Author: Nick Moffitt Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: I'm using exported resources to collect ssh keys from custom facts and compile a command-locked authorized_keys on a central machine. While investigating some anomalies involving checksums in state.yaml for the exported authorized_keys file, I noticed that the checksums for this file were unique to a run. Setting a copy aside, I see: <pre> --- authorized_keys.old 2010-11-15 14:35:02.000000000 +0000 +++ authorized_keys 2010-11-15 14:35:09.000000000 +0000 @@ -1,4 +1,4 @@ -# HEADER: This file was autogenerated at Mon Nov 15 14:26:20 +0000 2010 +# HEADER: This file was autogenerated at Mon Nov 15 14:35:09 +0000 2010 # HEADER: by puppet. While it can still be managed manually, it # HEADER: is definitely not recommended. </pre> This timestamp is causing a new copy of this file to appear in my filebuckets on each run even though the rest of the file is unchanged. This has no upper limit, and if the file were to grow significantly it could result in an enormous amount of space being taken up. It would appear that any provider that uses the parsedfile provider classes gets this header, regardless of what comment delimiter the file uses. I'd appreciate some way to turn this off, supply my own, or at least shut off that timestamp. Ideally I suppose the exported resource ought not to re-generate it if the only change would be that header. The system collecting the authorized_keys file is puppet client at version 0.25.4-2ubuntu6 and puppet master at 2.6.1-0ubuntu2. Other clients are mostly 0.25.4-2ubuntu6 with a few 2.6.1-0ubuntu2 systems. -- 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.
