Issue #9708 has been updated by Nigel Kersten.

Michael Kincaid wrote:
> As an alternative solution, would it work to just remove the confine entirely 
> from the hardwareisa fact? If uname -p returns an answer, it should be 
> considered authoritative, and if not, then there's no resolution...

+1 for this approach unless someone can show 'uname -p' returning different 
info on any of our supported OSes.
----------------------------------------
Refactor #9708: Remove redundancy from operatingsystem confines
https://projects.puppetlabs.com/issues/9708

Author: Adrien Thebo
Status: Code Insufficient
Priority: Normal
Assignee: Michael Kincaid
Category: library
Target version: 1.7.0
Keywords: 
Branch: 
Affected Facter version: 


There are instances inside facter that that look like this

<pre>
confine :operatingsystem => %w{Solaris Linux Fedora RedHat CentOS Scientific 
SuSE SLES Debian Ubuntu Gentoo FreeBSD OpenBSD NetBSD OEL OVS GNU/kFreeBSD}
</pre>

Which should be written more cleanly as 

<pre>
confine :kernel => %w{SunOS Linux FreeBSD OpenBSD NetBSD GNU/kFreeBSD}
</pre>
</pre>



-- 
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