summaryrefslogtreecommitdiffstats
path: root/spec/unit/data
Commit message (Collapse)AuthorAgeFilesLines
* Further fix to #5485 - SELinux factsJames Turnbull2011-03-111-0/+2
| | | | | | | 1. Added new facts for all values returned by the sestatus command 2. Updated legacy selinux_mode fact with former value 3. Added note and ticket #6677 to remove legacy fact at Facter 2.0.0 4. Added tests for new facts and legacy fact
* Merge branch 'tickets/master/6495' into nextJames Turnbull2011-03-091-6/+3
|\
| * Fix for #6495 - Updated interface detectionJames Turnbull2011-03-091-6/+3
| | | | | | | | | | | | | | | | | | | | 1. Fixed IP return to not filter lo/localhost and return it as a proper interface 2. Fixed HP-UX netstat return to remove extraneous first line of naming. 3. Updated tests to reflect changes
* | Fixed #5485 - Updated selinux_mode factJames Turnbull2011-03-091-0/+4
|/ | | | | | 1. Added tested 2. Refactored to use F:U:R.exec 3. Chomp trailing newline
* Fix #4755: add support for GNU/kFreeBSD platform where missing.Marc Fournier2011-01-311-0/+40
| | | | | | | | | Merged manually to the current state of the art. Minimal conflicts resolved by adding both Darwin and GNU/KFreeBSD to the confine lines. Author: Marc Fournier <marc.fournier@camptocamp.com> Signed-off-by: Daniel Pittman <daniel@puppetlabs.com> Signed-off-by: Rick Bradley <rick@rickbradley.com>
* (#4989) Add xendomains factRein Henrichs2010-11-091-0/+4
| | | | | Parses `/usr/sbin/xm list` and returns a comma-separated list of domains. Based on a patch submitted by Jonas Genannt.
* Facter::Manufacturer - test for SunOS and FreeBSDMarc Fournier2010-08-042-0/+75
| | | | | This test compares a fact made with dmidecode (linux and bsd) with one using smbios (solaris).
* Adding HP-UX support to Facter's IP factsJames Turnbull2010-06-152-0/+9
| | | | Includes Rspec tests
* Fixed #3403 - Added fact to query vlans; added spec testJonas Genannt2010-06-131-0/+6
|
* Remove whitespace in DMI facts (#3008, #3011)Paul Nasrat2010-01-101-0/+60
| | | | | | | | | In addition to the stripping of the output of these facts this patchset: Refactor - Extracted function to enable easier testing. Tests - data driven tests for the dmidecode/smbios fact. Paul
* Fix #2470 - duplicate entries in interfaces factPaul Nasrat2009-08-121-0/+8
| | | | | Solaris orders inet and inet6 seperately. This tests for and fixes this by uniqueing the list. Will probably need work when we get to ipv6 support.
* Tests for #2227 - multiple interfaces on DarwinPaul Nasrat2009-05-131-0/+10
| | | | | | | | | | | | This seems to have been fixed functionally on master (in /Users/pnasrat/Development/facter/spec) Finished in 1.604955 seconds 183 examples, 0 failures However I want to take the opportunity to add tests to prevent regressions Paul
* Added network factJames Turnbull2009-01-271-0/+6
|
* Fix bug #1870 and add interface fact support for darwin systemsPaul Nasrat2009-01-151-0/+26
|
* Refactoring the IP support, and fixing #1846.Luke Kanies2009-01-151-0/+12
| | | | | | | | | | | | | | | | 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>
* Add unit rspec tests for ticket 1425Paul Nasrat2008-08-131-0/+3
|
* Extract ifconfig output to data directoryPaul Nasrat2008-08-131-0/+18