| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ |
|
| |/ /
|/| |
| | |
| | | |
lsb facts, and it's nonsensical too.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Patch from Hector Rivas
|
| | | |
| | | |
| | | |
| | | | |
Patch modified from Hector Rivas
|
| |\ \ \ |
|
| |/ / /
|/| | |
| | | |
| | | | |
Thanks to James Goddard for the patch
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Changed regular expression to be case insensitive for cross platform
compatibility.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1. Added tested
2. Refactored to use F:U:R.exec
3. Chomp trailing newline
|
|\| | |
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* next:
Fixed #5950 - Solaris ipaddress incorrect after bonding failure
(#6615) fix missing stub calls in loader specs
(#5666) windows support for facter/id.rb
(#4925) - MS Windows doesn't do man pages
Fixed #6611 - Fixed broken HPVM test and rationalised test structure
(#6525) change semicolons to 'then' in case statement for ruby 1.9.2 compatibility
Fixes #6521 and other Ruby 1.9 issues
Fixed #6525 - Test failures on Ruby 1.9.x
(#5031) Remove redundant puts from RDoc.usage
|
| |\ \ |
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It's not clear to me how these are now needed and apparently
weren't when we first checked this in. These stubs will let the
specs continue on so we can check the load order, which was the
original intent of (#5510) which caused the introduction of these
specs.
Signed-off-by: Rick Bradley <rick@rickbradley.com>
|
| |\ \ |
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added logic to prevent installation of man pages on windows
Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RDoc.usage prints the usage string. As a result, `puts RDoc.usage` is redundant
and unnecessary.
See http://ruby-doc.org/core/classes/RDoc.html#M004706.
|
| |\ \ |
|
| |/ / |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Tested on Ruby 1.9.2p180
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
compatibility
|
|/| | | |
| |/ / / |
|
| |/ / |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This stubs out the platform side of the code, and uses fixtures emitting the
right output from the interface configuration tools.
Paired-With: Matt Robinson <matt@puppetlabs.com>
Paired-With: Max Martin <max@puppetlabs.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that IPocalypse has happened, IPv6 support in Facter core would be nice to
have. So, we add the appropriate code to start handling that.
The ipaddress6 fact as supplied included some smart code to try determining
the "primary" address using DNS to resolve the AAAA record for the host FQDN.
While this was smart, it actually didn't work: facter prefers the longest
confine list, so the *stupid* mechanisms that were kernel-specific would
override the smarter and more portable mechanisms.
We strip that code out for now, which also brings this into line with the
existing ipaddress fact; improving both would be good, but it should be uniform.
Paired-With: Matt Robinson <matt@puppetlabs.com>
Paired-With: Max Martin <max@puppetlabs.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This mirrors the behaviour of the newer code, and eliminates some DWIM work we
do on a single, specific platform that should, better, be done on a global
platform.
This would be reintroduced globally, applied to all platforms, or otherwise
rebuilt from a consistent base of specified behaviour.
Paired-With: Matt Robinson <matt@puppetlabs.com>
Paired-With: Max Martin <max@puppetlabs.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This adds a suite-wide "Facter.clear" call before :each test case to ensure
that we can't accidentally cache data when we are invoked using top level
Facter interfaces to get at data.
Paired-with: Jacob Helwig <jacob@puppetlabs.com>
|
|\ \ |
|
| |\ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| |\ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ruby's Dir.entries will return files in different orders depending on
the OS and/or filesystem. As a result Facter::Util::Loader will load
ruby custom fact definitions in different orders on different platforms.
Specs to expose the bugs, and code to ensure that custom fact files are
loaded in alphabetical order.
Addresses redmine issue #5510
http://projects.puppetlabs.com/issues/5510
Signed-off-by: Rick Bradley <rick@rickbradley.com>
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
|
|\| | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rename all the spec tests to follow the rspec convention of *_spec.rb rather
than unadorned *.rb; this also makes it easier to work with them consistently
without using the Rakefile support that customizes that.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Because we pull in spec_helper in individual tests, we need to use a
consistent path or Ruby will evaluate it multiple times. Make the path
consistent by expanding it before require.
|
| |/ /
| | |
| | |
| | | |
We have moved to rspec2 for puppet, and facter should follow suit.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* issue/next/5086:
(#5086) Try using kstat before falling back to 'who -b' to determine uptime.
Refactor util/uptime.rb tests to reduce duplication using contexts
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'who -b' doesn't report the year of the last system boot on (at least)
Solaris 10, and OpenSolaris 2009.06. Try using 'kstat -p
unix:::boot_time', which reports as seconds since the epoch on these
systems before falling back to 'who -b'.
Reviewed-by: Paul Berry <paul@puppetlabs.com>
|
| |/ /
| | |
| | |
| | | |
Reviewed-by: Paul Berry <paul@puppetlabs.com>
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* feature/next/4575:
(#4575) win32 support for manufacturer, productname, & serialnumber
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
|