summaryrefslogtreecommitdiffstats
path: root/examples/code
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-04-28 15:39:39 -0700
committerJames Turnbull <james@lovedthanlost.net>2010-05-02 16:47:23 +1000
commitce233aa2a511bf6818f28c226144ec5b05a468ee (patch)
tree102ec5d463a268d90a067930d4b6f8c5446a7d7e /examples/code
parent6739bab16e3126ccba13f025a4b47d38f15c1f67 (diff)
downloadpuppet-ce233aa2a511bf6818f28c226144ec5b05a468ee.tar.gz
puppet-ce233aa2a511bf6818f28c226144ec5b05a468ee.tar.xz
puppet-ce233aa2a511bf6818f28c226144ec5b05a468ee.zip
Write ssh_authorized_keys as user
This is a targeted fix to the issue of permissions when writing ssh authorized key files by 1) requiring that an existing users be specified on the resource and 2) doing the write as that user. It's based on Michael DeHaan's initial implementation of Luke's idea, but with a number of simplifications (mostly by testing necessary conditions as early as possible so the code isn't cluttered up with a lot of checks).
Diffstat (limited to 'examples/code')
0 files changed, 0 insertions, 0 deletions