ansible/library
Stephen Fromm ae1b2394ac Update setup module for facts derived from classes
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.
2012-07-19 23:50:12 -07:00
..
apt add noninteractive to debian module per #602 2012-07-16 20:18:58 -04:00
assemble Use iterative MD5 hashing. 2012-07-09 13:27:47 -04:00
async_status Apply logging of arguments to modules (issue #122) 2012-05-09 15:19:20 -07:00
async_wrapper Apply logging of arguments to modules (issue #122) 2012-05-09 15:19:20 -07:00
authorized_key Fixes ansible/ansible#522, no longer creates comment in ~/.ssh/authorized_keys, does not create directory or file if state==absent. 2012-07-02 19:16:57 +00:00
command Apply logging of arguments to modules (issue #122) 2012-05-09 15:19:20 -07:00
copy Use iterative MD5 hashing. 2012-07-09 13:27:47 -04:00
facter Apply logging of arguments to modules (issue #122) 2012-05-09 15:19:20 -07:00
failtest Surface module debug (-D) to /usr/bin/ansible also 2012-03-31 11:45:29 -04:00
fetch Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications 2012-07-14 11:59:12 -04:00
file Removed unused recurse option in file module. 2012-07-12 02:04:51 -04:00
git Pass through error message when repo not found 2012-07-19 15:48:13 -07:00
group Fixes to group module for better error handling 2012-07-10 16:18:53 -07:00
mount Squashed commit of the following: 2012-07-15 14:38:40 -04:00
mysql_db The MySQL modules 2012-07-13 17:07:23 -05:00
mysql_user The MySQL modules 2012-07-13 17:07:23 -05:00
ohai Apply logging of arguments to modules (issue #122) 2012-05-09 15:19:20 -07:00
ping Apply logging of arguments to modules (issue #122) 2012-05-09 15:19:20 -07:00
raw Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications 2012-07-14 11:59:12 -04:00
service Service module outputting extra data. 2012-07-19 13:15:09 -04:00
setup Update setup module for facts derived from classes 2012-07-19 23:50:12 -07:00
shell Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications 2012-07-14 11:59:12 -04:00
slurp Common module code upgrades 2012-07-17 23:09:57 -04:00
template Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications 2012-07-14 11:59:12 -04:00
user Change the way we do with_items to make them happen next to each other in runner, which eliminates the problem of with_items and vars_files sometimes not playing nice with each other. 2012-07-14 19:18:33 -04:00
virt Tweaks on previous refactoring of playbook, version bump a 0.4 reference, remove some debug, etc 2012-05-26 01:20:53 -04:00
yum Apply logging of arguments to modules (issue #122) 2012-05-09 15:19:20 -07:00