| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
Manually resolved conflicts:
lib/facter/virtual.rb
spec/unit/virtual.rb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With HP-UX you can build virtual machines that are often refered to as
HP-VMs.
This patch detecs HP-VMs by introducing a new function hpvm? that will
check the output of /usr/bin/getconf MACHINE_MODEL. This should not
depend on any tools that might be not installed.
If inside a HP-VM the command will say something like
ia64 hp server Integrity Virtual Machine
while on real hardware the output could be
ia64 hp server rx660
so searching for "Virtual Machine" should work.
Currently it only works if the guest is also running HP-UX.
(I guess this is the most common usecase).
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Manually resolved conflicts:
lib/facter/virtual.rb
spec/unit/virtual.rb
|
| |/
| |
| |
| |
| |
| |
| | |
While the fact virtual recognised solaris zones before, the is_virtual
fact did not.
With this patch applied is_virtual returns true on (non-global) zones
|
| | | |
| \ | |
|\ \ \
| | | |
| | | |
| | | | |
'pnasrat/tickets/master/4956' into next
|
| | |/ |
|
| |/
| |
| |
| | |
Fix is_virtual fact to return strings rather than bools.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Conflicts:
bin/facter
lib/facter/application.rb
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Patch removes reliance on clock ticks and instead queries for last boot time and subtracts from Time.now
Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* getTickCount.call() is not an epoch time value so compute_uptime
is not necessary
Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If rdoc/usage fails to load, tell the user why and fail. If another
failure happens, report the error message and fail.
Paired With: Jacob Helwig
Signed-off-by: Rein Henrichs <rein@puppetlabs.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Simplify the binary by moving all application specific code into a new
Facter::Application module. This module is then refactored to use
OptionParser and to simplify invocation logic, while maintaining
existing behavior.
|
| | | | |
| \ \ | |
|\ \ \ \ |
|
| | | | | |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Simplify the binary by moving all application specific code into a new
Facter::Application module. This module is then refactored to use
OptionParser and to simplify invocation logic, while maintaining
existing behavior.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Remove &> redirects, which are bash 4 only
- Use git checkout -q instead of redirects to preserve fatal errors
|
| | | |
| | | |
| | | |
| | | | |
Allow facter-diff to start in and return to a detached HEAD
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Example:
./ext/facter-diff 1.5.5 1.5.8rc1
|
|\ \ \
| | |/
| |/| |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \ |
|
| |/ /
| | |
| | |
| | | |
Resolution.exec used to ensure that any shell errors are suppressed.
|
| | |
| | |
| | |
| | |
| | | |
The reverted patch contains a fix for #1291 that is desired. This commit
reintroduces that change.
|
| |\ \ |
|
| | | | |
|
|\ \ \ \
| | |/ /
| |/| | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a revert of ticket #2573, which introduces a reverse DNS lookup
to the resolution of fqdn. As per #3898, this does not corrently return
the fqdn on all systems.
This reverts commit dca615c98b864d75e2ac5899d98d04a2bd979eba.
|
|\| | |
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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"
|
|\| | |
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Patch removes reliance on clock ticks and instead queries for last boot time and subtracts from Time.now
Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
|
| |/
| |
| |
| |
| |
| |
| | |
* getTickCount.call() is not an epoch time value so compute_uptime
is not necessary
Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | | |
* With tests for 9.8.0, 10.3.0 and 10.6.4
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Regexp tested the s_context or VxID field if /proc/self/status and
returned false for 0 and true for any other number. 0 indicates a host,
which is still virtual.
Fix changes regexp to correctly report hosts as virtual. Tested against
vserver 2.1 and 2.3.
|
| | |
|
| | |
|
| | |
|