summaryrefslogtreecommitdiffstats
path: root/lib/facter/operatingsystemrelease.rb
Commit message (Collapse)AuthorAgeFilesLines
* (#5394) Document each Facter fact.Ben H2011-03-311-0/+17
| | | | | | | | | Document all the builtin Facter facts in puppetdoc/rdoc format. This is laying the ground work for using a tool like puppet doc, or puppet describe but for facter, so you can see what a fact is for and how it resolves this. This is the "leg work" of documenting the actual facts, and the syntax of them may change in future.
* Fixed #3087 - Identify VMWareJames Turnbull2011-03-171-1/+11
| | | | | | | Added support for VMWareESX and ESXi to operatingsystem and operatingsystemrelease facts Added appropriate tests
* (#2721) Merged patch from Brane GraAnarAdrien Thebo2011-03-081-1/+25
| | | | | | | - Adds support for Slamd64 and Bluewhite64 for the operatingsystem fact - Adds support for Slamd64 and Bluewhite64 for the operatingsystemrelease fact
* [#4289] operatingsystemrelease fact for oel, ovsRein Henrichs2010-08-181-2/+2
| | | | | | | | | When Facter returns operatingsystem as "oel" or "ovs", the operatingsystemrelease fact does not catch these properly, causing an error. Specs added to catch failure and case statement updated to catch "oel" and "ovs" as well as "OEL" and "OVS"
* [#4062] Implement operating system facts for MeeGoRein Henrichs2010-08-031-1/+3
| | | | | | | | | | | | | | Implements operatingsystem and operatingsystemrelease for MeeGo From Rohan McGovern's patch: MeeGo ( http://meego.com/ ) uses an /etc/meego-release file similar to the files found on many Linux distros. Currently, MeeGo falls back on “Linux” as the operatingsystem fact. It’d be useful to have a proper value. Attached patch implements it. Signed-off-by: Rein Henrichs <rein@puppetlabs.com>
* Added support for Slackware in operatingsystem and operatingsystemreleaseBostjan Skufca2010-04-241-0/+10
|
* Fixed #3447 - OVS and OEL not matching in operatingsystemreleaseJames Turnbull2010-04-121-2/+2
|
* Fix #2060 and cleanup operatingsystemreleaseTodd Zullinger2009-07-141-52/+12
|\ | | | | | | | | | | | | | | | | | | Patch from Todd Zullinger, rebased. Merge branch 'cleanup-operatingsystemrelease' of git://jet.mox.net/~tmz/facter into tickets/master/2060 Conflicts: lib/facter/operatingsystemrelease.rb
| * Fix operatingsystemrelease on Red Hat based distrosTodd Zullinger2009-03-091-1/+1
| | | | | | | | | | | | This allows operatingsystemrelease to properly determine the release for various Red Hat based distros, including the point portion of the release.
| * Consolidate operatingsystemrelease for CentOS, Fedora, oel, ovs, and RedHatTodd Zullinger2009-03-091-51/+11
| | | | | | | | These operating systems all use a similar format for the release file.
* | Tighten operatingsystemrelease regex on CentOS < 5Todd Zullinger2009-05-221-1/+1
| | | | | | | | | | | | | | | | | | The previous check for /5/ matched releases like 4.5, which is not the intent. The previous check was introduced in 095eb15e, and changed the pattern from /^5^/. Using /^5/ to match when the release begins with 5 seems saner. Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
* | Fix operatingsystemrelease for CentOS < 5Todd Zullinger2009-05-221-1/+1
| | | | | | | | | | | | | | | | On older CentOS releases, a sed command is used to parse the release number from /etc/redhat-release. However, the command lacked the proper amount of backslashes to escape the parenthesis. Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
* | Fixed #2215 - Added support for SUSE Linux Enterprise Desktop to ↵Andreas Zuber2009-05-101-1/+1
|/ | | | operatingsystem and operatingsystemrelease
* more consistent indentation and alignment. also removal of trailing whitespaceIan Taylor2009-02-281-2/+2
|
* This commit refs #1555, #1898 and fixes #1761Joel W. Shea2009-02-131-7/+0
| | | | a
* Added support for Oracle VM Server to operatingsystem and operatingsystemreleaseJames Turnbull2009-02-111-0/+12
|
* Added support for Oracle Enterprise Linux to operatingsystemJames Turnbull2009-02-111-0/+12
| | | | and operatingsystemrelease
* Fixed #1867 - Fixed OpenSuSE detectionLuke Kanies2009-01-271-1/+3
| | | | | | Applied patch by miah. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing indentation everywhereLuke Kanies2009-01-151-8/+8
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1761 - Solaris no longer uses /etc/releaseLuke Kanies2008-12-301-6/+1
| | | | | | Applying patch by andy. Signed-off-by: Luke Kanies <luke@madstop.com>
* minor fix to operatingsystemversion to correctly parse /etc/release on ↵rchanter2008-12-091-1/+1
| | | | OpenSolaris 2008.11.
* Fixed #1509 - Fixed version recognition for SLES.Luke Kanies2008-09-241-1/+1
|
* Fixed #1555 - added operatingsystemrelease for SolarisJames Turnbull2008-09-051-0/+12
|
* Applied patch by josb to fix CentOS version detection.Luke Kanies2008-08-181-3/+3
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding better SuSE detection for both operatingsystem and release.Luke Kanies2008-08-171-0/+18
| | | | | | Patch provided by seanmil. Signed-off-by: Luke Kanies <luke@madstop.com>
* Modified the operatingsystem fact for Debian so it looks inLuke Kanies2008-08-011-4/+1
| | | | | | | | /etc/debian_version instead of /proc/version. Applied patch by marthag. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #1400 - OperatingSystemRelease should now work on CentOSLuke Kanies2008-07-071-4/+6
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Rejustifying all of the whitespace in the facts, yay.Luke Kanies2008-06-171-50/+50
|
* Updated version. Moved most facts to seperate files.James Turnbull2008-05-171-0/+61