ae1b2394ac
This changes and organizes facts into a base class Facts and several sub classes that implement the necessary functionality. The classes are: - Facts: base class. Implements basic facts that should be common to a number of platforms. It is also where SSH keys and SELinux facts are set. - Hardware: A subclass of Facts that should be further subclassed per platform for CPU, memory, and related facts. - LinuxHardware: subclass of Hardware for Linux platforms - SunOSHardware: subclass of Hardware for SunOS platforms - FreeBSDHardware: subclass of Hardware for FreeBSD - Network: A subclass of Facts that that should be further subclassed per platform for IP, both IPv4 and IPv6, information. - LinuxNetwork: Currently only implementation for determining network facts. - Virtual: A subclass of Facts that that should be further subclassed per platform to determine virtual environment facts. - LinuxVirtual: Currently only implementation for determining virtual facts. If facts are needed for additional platforms, one of the above classes (eg Network) can be further subclassed and implement the necessary functionality. In addition, it fixes get_network_facts() to work on Fedora17. That broke due to changes to ifconfig output. |
||
---|---|---|
.. | ||
apt | ||
assemble | ||
async_status | ||
async_wrapper | ||
authorized_key | ||
command | ||
copy | ||
facter | ||
failtest | ||
fetch | ||
file | ||
git | ||
group | ||
mount | ||
mysql_db | ||
mysql_user | ||
ohai | ||
ping | ||
raw | ||
service | ||
setup | ||
shell | ||
slurp | ||
template | ||
user | ||
virt | ||
yum |