summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring the IP support, and fixing #1846.Luke Kanies2009-01-152-55/+62
| | | | | | | | | | | | | | | | I've made the IPMess stuff a lot less messy, and refactored a lot of the util/ip module, including naming it more sensibly. The biggest changes are that I moved the big case statement into a constant and then used a bit of dispatch-style logic to use it, and I eliminated a bunch of duplicate code in the ipmess.rb file. Added some test data for FreeBSD and fixed a bug in my map logic pointed out by Paul Nasrat. I've also fixed #1846, in that the interface list now s/:/_/g. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing indentation everywhereLuke Kanies2009-01-1519-270/+267
| | | | 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>
* Fixed #1791 - support for virtual fact on Solaris 10James Turnbull2008-12-221-9/+17
|
* Fixed #1793 - Added more Solaris 10 factsJames Turnbull2008-12-222-6/+23
|
* minor fix to operatingsystemversion to correctly parse /etc/release on ↵rchanter2008-12-091-1/+1
| | | | OpenSolaris 2008.11.
* Fix for #1727 - id fact should not rely on whoami on SolarisMartin Englund2008-11-121-1/+12
| | | | Signed-off-by: Martin Englund <martin@englund.nu>
* Fixed #1697 - Typo in ipaddress.rb causes timeout under Solaris 10 SPARCJames Turnbull2008-10-281-1/+1
|
* Added Ubuntu to a variety of confinesJames Turnbull2008-10-214-4/+4
|
* Removed ENV path setting from virtual.rbJames Turnbull2008-10-211-2/+0
|
* Fixed #1634 - Update virtual fact to differentiate OpenVZ hardware nodes and ↵James Turnbull2008-10-211-1/+9
| | | | virtual environments
* Merge commit 'lutter/ticket/1654'Luke Kanies2008-10-151-52/+21
|\
| * Revamp domain resolutionDavid Lutterkort2008-10-151-52/+21
| | | | | | | | | | | | Facts are not necessarily evaluated in the order in which they are added. Merge all the domain facts without a confine into one fact that checks the various sources for domain names in the right order.
* | Fixed #1619 - Applying patch by seanmil, adding support for SLES.Luke Kanies2008-09-295-5/+5
|/ | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #1509 - Fixed version recognition for SLES.Luke Kanies2008-09-241-1/+1
|
* Fixes #1582 - Fix MAC address reporting for Linux bonding slave interfacesJames Turnbull2008-09-201-14/+43
|
* Merge branch 'master' of git://reductivelabs.com/facterJames Turnbull2008-09-161-1/+1
|\
| * Updated to version 1.5.2Luke Kanies2008-09-091-1/+1
| |
* | Fixed #1547 - finally killed dots in IP address factsJames Turnbull2008-09-121-1/+1
|/
* Fixes #1558 - Adjusted virtual fact to allow non-root users to execute itJames Turnbull2008-09-081-1/+1
|
* Fixed #1558 - Updated virtual fact for xenu and xen0James Turnbull2008-09-051-3/+3
|
* Fixed #1555 - added operatingsystemrelease for SolarisJames Turnbull2008-09-051-0/+12
|
* Fixed #1559 - update to dmidecode factJames Turnbull2008-09-051-2/+2
|
* Fixed . dot escapingJames Turnbull2008-09-031-1/+1
|
* Updated to version 1.5.1Luke Kanies2008-08-271-1/+1
|
* Added a Process.waitall thread when there's a timeout, to avoid zombies.Luke Kanies2008-08-181-0/+5
| | | | Without this call, every time there's a timeout, we'll get a zombie.
* Set the timeout for the host-based and resolv-based resolutions to 2.Luke Kanies2008-08-183-4/+4
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Applied patch by josb to fix CentOS version detection.Luke Kanies2008-08-181-3/+3
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge commit 'pnasrat/tickets/1422'Luke Kanies2008-08-181-1/+1
|\
| * Facter fix #1422, no default timeoutPaul Nasrat2008-08-181-1/+1
| |
* | Adding better SuSE detection for both operatingsystem and release.Luke Kanies2008-08-172-1/+24
| | | | | | | | | | | | Patch provided by seanmil. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge commit 'pnasrat/ticket/1425'Luke Kanies2008-08-162-83/+44
|\ \ | |/ |/|
| * Add unit rspec tests for ticket 1425Paul Nasrat2008-08-131-3/+13
| |
| * Add sample test and strawman solution for IP parsing codePaul Nasrat2008-08-111-8/+14
| |
| * Fix ticket 1425 on SolarisPaul Nasrat2008-08-081-1/+7
| |
| * Remove duplicated code pathsPaul Nasrat2008-08-082-72/+11
| | | | | | | | Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
* | Fixes #1492 - added kernelversion factJames Turnbull2008-08-091-0/+5
|/
* Fixed #1490 - Added virtual factJames Turnbull2008-08-041-0/+62
|
* 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>
* Merge commit 'pnasrat/ticket/1434'Luke Kanies2008-07-311-2/+7
|\
| * Bug #1434 Don't execute which on windowsPaul Nasrat2008-07-171-2/+7
| |
* | Merge commit 'pnasrat/ticket/1436'Luke Kanies2008-07-311-0/+1
|\ \
| * | Don't try and run lsb_release on windowsPaul Nasrat2008-07-181-0/+1
| |/
* / Fixes #1467 - macaddress not set on UbuntuJames Turnbull2008-07-301-1/+1
|/
* Use rbconfig to detect host cpuPaul Nasrat2008-07-171-0/+8
|
* Get DNSDomain from WMI to set domainPaul Nasrat2008-07-171-0/+14
|
* Set macaddress on windows platformPaul Nasrat2008-07-171-0/+14
|
* Get kernel version via wmiPaul Nasrat2008-07-171-0/+15
|
* Use ipconfig to determine ip addressPaul Nasrat2008-07-171-0/+19
|
* Use rbconfig to detect windows as no uname binaryPaul Nasrat2008-07-171-1/+7
|