On Nov 14, 2008, at 7:29 AM, Andrew Wasilczuk wrote:
> I tried to fix this a while ago, and I accidentally started a thread
> on
> opensolaris-discuss [1], where I was told that using /etc/release in
> scripts is generally a bad idea because it may change without a
> notice.
> There is also some confusion as to what operatingsystemrelease
> should be
> set to on Solaris. I'd probably go for uname -r, which yields
> 5.10 on
> Solaris and 5.11 on OpenSolaris. But then it's the same as the
> kernelversion so not very useful... Another option would be to use
> the
> bi-weekly build numbers on OpenSolaris (e.g. snv_99). I'd love to
> hear
> some opinions on what this should be set to.
Seems to me that on Solaris the "kernelrelease" fact is currently
wrong. It should be the output of uname -v ("Generic_137137-09" on
one of my Solaris 10 systems). uname -r is the OS release, but uname -
v is the kernel release/version.
--
Eric Eisenhart <[EMAIL PROTECTED]>
Lead Unix/Linux System Administrator
1.707.664.3099
Sonoma State University, Information Technology
Jabber/XMPP: [EMAIL PROTECTED]
AIM: ericeisenhart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---