Feature #6690

OpenIndiana facter(puppet) support

Added by T.J. Yang about 1 year ago. Updated 5 months ago.

Status:Accepted Start date:03/12/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:library
Target version:1.6.x
Keywords:OpenIndiana support Affected Facter version:
Branch:
Votes: 0

Description

I am opening this ticket to track the support of OpenIndiana (OpenSolaris after).

root@oi:~# gem install  puppet
Fetching: puppet-2.6.6.gem (100%)
Successfully installed puppet-2.6.6
1 gem installed
Installing ri documentation for puppet-2.6.6...
Installing RDoc documentation for puppet-2.6.6...
Could not find main page README
Could not find main page README
Could not find main page README
Could not find main page README
root@oi:~#

root@oi:~# /var/ruby/1.8/gem_home/bin/facter
domain => test.net
facterversion => 1.5.8
fqdn => oi.test.net
hardwareisa => i386
hardwaremodel => i86pc
hostname => oi
id => root
interfaces => lo0,e1000g0
ipaddress => 192.168.1.39
ipaddress_e1000g0 => 192.168.1.39
ipaddress_lo0 => 127.0.0.1
is_virtual => true
kernel => SunOS
kernelmajversion => oi_148
kernelrelease => 5.11
kernelversion => oi_148
macaddress => 0:c:29:1d:c9:67
macaddress_e1000g0 => 0:c:29:1d:c9:67
manufacturer => VMware, Inc.
netmask => 255.255.255.0
netmask_e1000g0 => 255.255.255.0
netmask_lo0 => 255.0.0.0
network_e1000g0 => 192.168.1.0
network_lo0 => 127.0.0.0
operatingsystem => Solaris
operatingsystemrelease => 5.11
path => /usr/gnu/bin:/usr/bin:/usr/sbin:/sbin
productname => VMware Virtual Platform
ps => ps -ef
puppetversion => 2.6.6
rubysitedir => /usr/ruby/1.8/lib/ruby/site_ruby/1.8
rubyversion => 1.8.7
serialnumber => VMware-56 4d 26 47 a4 6c 65 3b-24 e9 8e 51 f9 1d c9 67
sshdsakey => snipped
sshrsakey => snipped
timezone => CST
type => 0x1 (other)
uniqueid => 008e4194
uptime => 0:12 hours
uptime_days => 0
uptime_hours => 0
uptime_seconds => 744
virtual => vmware
root@oi:~#

History

Updated by James Turnbull about 1 year ago

  • Target version deleted (1.5.9)

Updated by Ben Hughes about 1 year ago

Should or does it distinguish itself in some way from say, other Solaris/OpenSolaris systems?

Updated by Ben Hughes about 1 year ago

  • Status changed from Unreviewed to Investigating

Updated by James Turnbull 9 months ago

  • Category set to library

Updated by Ken Barber 6 months ago

  • Status changed from Investigating to Accepted
  • Target version set to 1.6.x

I believe it should distinguish itself as openindiana and illumos are forks now. It should appear in the appropriate osfamily as well.

Updated by T.J. Yang 6 months ago

Nope, it is still showing as solaris in osfamily.

root@oi151:~# /var/ruby/1.8/gem_home/bin/facter |grep osfamily
osfamily => Solaris
root@oi151:~# /var/ruby/1.8/gem_home/bin/facter -v
1.6.3
root@oi151:~# uname -a
SunOS oi151 5.11 oi_151a i86pc i386 i86pc Solaris
root@oi151:~# 
root@oi151:~# gem list |egrep 'puppet|facter'
facter (1.6.3)
puppet (2.7.6)
root@oi151:~# 

Updated by Ken Barber 6 months ago

Perhaps you misunderstood me – what I’m saying is that this should be fixed, not that it is fixed :–).

T.J. Yang wrote:

Nope, it is still showing as solaris in osfamily.

root@oi151:~# /var/ruby/1.8/gem_home/bin/facter |grep osfamily
osfamily => Solaris
root@oi151:~# /var/ruby/1.8/gem_home/bin/facter -v
1.6.3
root@oi151:~# uname -a
SunOS oi151 5.11 oi_151a i86pc i386 i86pc Solaris
root@oi151:~# 
root@oi151:~# gem list |egrep 'puppet|facter'
facter (1.6.3)
puppet (2.7.6)
root@oi151:~#

Updated by Adrien Thebo 6 months ago

Is OpenIndiana binary compatible with Solaris 11? If so, I believe it should be in the Solaris osfamily.

Updated by T.J. Yang 6 months ago

Is OpenIndiana binary compatible with Solaris 11? If so, I believe it should be in the Solaris osfamily.

Yes so far, but it will differ over time. It is best to distinguish Solaris vs OpenIndiana somehow. if not is in “osfamily”, please have it at another variable.

Updated by Adrien Thebo 5 months ago

As long as Solaris and OpenIndiana are somewhat binary compatible I would say they’re in a family, as that was the original purpose of the fact. When that breaks we can change it. In the mean time, would an operatingsystem fact of OpenIndiana be sufficient differentiation?

Updated by T.J. Yang 5 months ago

Adrien Thebo wrote:

As long as Solaris and OpenIndiana are somewhat binary compatible I would say they’re in a family, as that was the original purpose of the fact. When that breaks we can change it. In the mean time, would an operatingsystem fact of OpenIndiana be sufficient differentiation?

Yes, operatingsystem fact is a good start.

Currently puppet still showing following fact,

operatingsystem => Solaris

Also available in: Atom PDF