HomePhorge

(#5495) Remove dead Windows-specific code from posix exec provider
b28bcb031346Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#5495) Remove dead Windows-specific code from posix exec provider

Because this provider only applies when the posix feature is present (and thus
not the windows feature), it can never be used on Windows. Thus, the
Windows-specific command handling is unnecessary and unused.

Also added more specific error messages for the cases where a command doesn't
exist, isn't a file, and isn't executable. These only apply when the command
path is absolute (otherwise the message is simply command not found).

Reviewed-By: Matt Robinson <matt@puppetlabs.com>

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc9c331bda6f4: Merge pull request #40 from jhelwig/fix-order-dependent-terminus-tests-in-2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPUb28bcb031346: (#5495) Remove dead Windows-specific code from posix exec provider (authored by Nick Lewis <nick@puppetlabs.com>).Aug 16 2011, 8:33 PM