Issue #16506 has been updated by Jeff McCune.
This is a bug in Facter, and one we'll fix. Alex, is there a command that you could paste the output of (perfectly, as we'll use it as a fixture in our spec tests to write the implementation) that produces the correct value for the `hardwareisa` fact? Basically, we acknowledge this as a bug, but we're not sure what the expected results are or should be. We also don't have easy access to a hp-ux box, so the perfect copy / paste output (redirecting to a file might be ideal) will help us fix the problem. \<pre\>\<\/pre\> tags are useful for pasting command output. Thanks, -Jeff ---------------------------------------- Bug #16506: -p option invalid passed to uname in 'hardwareisa' fact on HP-UX https://projects.puppetlabs.com/issues/16506#change-73613 Author: Alex Harvey Status: Accepted Priority: Normal Assignee: Alex Harvey Category: hpux Target version: 1.6.x Keywords: Branch: Affected Facter version: The following code does not work on HP-UX - Facter.add(:hardwareisa) do setcode 'uname -p' end And the following results - $ facter hardwareisa /usr/bin/uname: illegal option -- p usage: uname [-amnrsvil] [-S nodename] This affects all versions of HP-UX. -- 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.
