diff options
author | Markus Roberts <Markus@reality.com> | 2010-04-28 15:39:39 -0700 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | ae520057280c2454bc44c64ac1e6686bf2eb086d (patch) | |
tree | 8769657cf9fc93664ba109ce0c562358e8f83d34 /spec/unit/provider/zpool | |
parent | 8c5e80edd84ec1e2f8c594b74b57a1e48af92e87 (diff) | |
download | puppet-ae520057280c2454bc44c64ac1e6686bf2eb086d.tar.gz puppet-ae520057280c2454bc44c64ac1e6686bf2eb086d.tar.xz puppet-ae520057280c2454bc44c64ac1e6686bf2eb086d.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).
The tests in this version are modified slightly to remove some additional
implementation couplings that were added in master.
Diffstat (limited to 'spec/unit/provider/zpool')
0 files changed, 0 insertions, 0 deletions