| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
* adrien/tickets/next/6719:
(#6719) Corrected faulty logic in bugfix
Conflicts:
lib/facter/virtual.rb
|
| | |
|
| |
| |
| |
| |
| | |
- prtdiag would hang in specific cases, subsequently hanging facter.
This should kill prtdiag if it takes excessively long.
|
| |
| |
| |
| | |
prtdiag for Solaris and corresponding tests. Darwin case is not handled yet.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| | |
- The virtual fact will only check if a system is a zone if the
operating system is solaris.
|
|/
|
|
| |
Patch modified from Hector Rivas
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
While looking at the patch for adding parallels to the virtual types
David Schmitt noticed that it might be easier just to list the types
that are NOT virtual since there's fewer of them.
Paired-with: Nick Lewis
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds support for Parallels VM guest detection with existing operating
systems. Detects Parallels based on hardware vendor name and pci id. The
Parallels vendor id does not seem to be listed in most pci.ids.
Adds resolution for "virtual" fact in the Darwin kernel. This uses the
existing Facter::Util::Macosx module to resolve system profiler data.
Both vendor name and vendor id values are checked. Resolution appears to
vary based on VM Host product.
Signed-off-by: donavanm <donavan@desinc.net>
|
|\
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Fix is_virtual fact to return strings rather than bools.
|
|
|
|
|
|
| |
There was no support for detecting FreeBSD jails as a virtual in facter. This patch detects jail by getting "security.jail.jailed" kernel state via sysctl.
Signed-off-by: Jiri Kubicek <jiri.kubicek@kraxnet.cz>
|
| |
|
|
|
|
| |
Thanks to Benedikt Bohm for the fix.
|
|
|
|
| |
Based on initial patch by James Turnbull
|
|
|
|
|
|
|
|
|
| |
This cleans up xen and vserver detection to enable us to stub out so when we
happen to be running tests on xen we don't report as that.
More cleanup is needed in this area but this should give us a green build.
This renames the tests to be consistent with current naming convention
|
|
|
|
| |
Add tests and utility for virtual fact detection
|
| |
|
|
|
|
|
|
|
|
|
| |
Facter #2120 - Solaris support for Facter[virtual]
This reverts commit 56760d34f070db4d7bb8e5fcfb7939fe3074bf49.
This patch is broken as $? global will report last run process in the case of
no vmware-checkvm binary
|
|
|
|
|
|
|
|
| |
Initial support for virtual vmware fact on Solaris
Tested on VMWare Fusion and OpenSolaris
Paul
|
|
|
|
| |
vserver detection
|
| |
|
| |
|
| |
|
|
|
|
| |
Use rather our util to exec commands than implementing our own hack.
|
| |
|
|
|
|
|
|
|
| |
I found a xenu system where /proc/virtual was present, so
facter always reported it as vserver_host. This fix will set
facter only to vserver_host if the box is still seen as
physical, hence no other virtual technology have been detected.
|
| |
|
|
|
|
| |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |
|
| |
|
|
|
|
| |
virtual environments
|
| |
|
| |
|
|
|