HomePhorge

Fixes #3745 Catch unhandled exception in ssh_authorized_key provider
b10d35d0da8fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fixes #3745 Catch unhandled exception in ssh_authorized_key provider

If the target is not specified it is automatically set to the user's
home directory. If the user does not exist when the generation of
the target path occurs then an ArgumentError exception is raised
but not caught. This patch catches the ArgumentError and raises
a Puppet::Error instead to more gracefully notify the user and allow
any remaining resources to be applied.

Signed-off-by: Sean Millichamp <sean@bruenor.org>

Details

Provenance
Sean Millichamp <sean@bruenor.org>Authored on
test branch <puppet-dev@googlegroups.com>Committed on Feb 17 2010, 3:50 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU584961a82ffb: Fixed #3721 - Removed -u option from crontab on HP-UX
Branches
Unknown
Tags
Unknown

Event Timeline

test branch <puppet-dev@googlegroups.com> committed rPUb10d35d0da8f: Fixes #3745 Catch unhandled exception in ssh_authorized_key provider (authored by Sean Millichamp <sean@bruenor.org>).Feb 17 2010, 3:50 PM