User account, home directory, ssh keys, and keygen functionality are inseparable
Opened this issue · 0 comments
martinb3 commented
Per #42, #73, #74, all four resources are touched no matter what you're actually changing. For example, for this action:
action :modify do
user_resource :modify
dir_resource :create
authorized_keys_resource :create
keygen_resource :create
end
There's basically no one way to user_resource
, dir_resource
, authorized_keys_resource
, or keygen_resource
independently. Thus, modifying any of them ends up modifying all of them. This especially unpleasant with .authorized_keys
as doing anything to a user wipes the file, even if you're performing an unrelated operation.