Issue #1357 has been updated by luke.

Status changed from Ready for Checkin to Closed

Merged.
----------------------------------------
Bug #1357: Facter reports incorrect ps for Mac OS X 10.5
http://reductivelabs.com/redmine/issues/show/1357

Author: sgblanch
Status: Closed
Priority: Normal
Assigned to: luke
Category: library
Target version: 1.5.0
Keywords: 
Complexity: Trivial
Patch: 


10.5 uses a ps similar to Linux's ps in that it accepts both the System V and 
BSD syntax.  Like the Linux ps, it assumes System V syntax if options are 
preceded by a '-' and BSD syntax otherwise.  My suggestion would be to use 'ps 
auxwww' on $operatingsystem => Darwin, since it works on both 10.3 (BSD ps) and 
10.5.  This solution should work fine on real BSDs too, but I have not tested 
it.

<pre>
leopard$ facter ps
ps -auxwww
leopard$ $(facter ps)
ps: No user named 'xwww'
leopard$ ps auxwww # works
</pre>

This affects facter 1.3.8 (affected version drop-down has puppet version 
numbers)


----------------------------------------
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://reductivelabs.com/redmine/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