Issue #17644 has been updated by Josh Cooper.

Status changed from Unreviewed to Accepted
Target version set to 1.6.x
Keywords set to windows uname hardwareisa
Affected Facter version set to 1.6.14


----------------------------------------
Bug #17644: illegal option – p in 'hardwareisa' fact on Windows with Cygwin 
installed
https://projects.puppetlabs.com/issues/17644#change-76718

Author: Reid Vandewiele
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 1.6.x
Keywords: windows uname hardwareisa
Branch: 
Affected Facter version: 1.6.14


Because the hardwareisa fact is not confined in any way, if there exists an 
executable "uname" command (or "uname.exe" in the case of Windows) anywhere in 
the path this fact will run. On Windows this bug manifests if Cygwin is 
installed and Cygwin binaries are available in the path. For example, in the 
described Cygwin scenario Facter might output the following error message:

    D:\UnixTools\uname.EXE: illegal option – p
    Try ‘d:\UnixTools\uname.EXE –help’ for more information.

The hardwareisa fact should be confined with more than a simple check to see if 
an appropriately named binary exists anywhere on the system.

See also #16506 for a similar issue.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to