Issue #20201 has been reported by Marek Dohojda.
----------------------------------------
Bug #20201: ssh_authorized_key continually updates file
https://projects.puppetlabs.com/issues/20201
* Author: Marek Dohojda
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* Affected Puppet version:
* Keywords: ssh_authorized_key ssh authorized_keys
* Branch:
----------------------------------------
puppet 2.7.21 and 2.6.9
here is my stanza:
ssh_authorized_key{ "$name":
ensure => present,
name => "$name",
key => "$key",
type => $type,
user => "$name",
require => File["$myhome/.ssh"]
}
All the variables are declared correctly. This works without any issues exept
that the authorized_key file gets updated each time puppet runs. The only
thing that changes is the timestamp in the HEADER section of the file. This in
turn creates continual entries in the clientbucket and /var/log/messages.
Running in debug is this:
The container users::Mkuser[<user>] will propagate my refresh event
debug: users::Mkuser[<user>]: The container Class[T4_users] will propagate my
refresh event
debug: Class[users]: The container Stage[main] will propagate my refresh event
In the clientbucket there are no indication that anything else changed nor was
updated.
As you can see I have no ssh "options", the whole thing is vanilla. The
required file simply ensures that .ssh directory exist and it is correct
permission. No changes to this directory take place.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.