Nikhil Singh
51a8aaf494
Changed funtion name to get_ohai_data
2012-07-31 13:07:53 +05:30
Michael DeHaan
4782bc1949
Port the file module over to the new common code infrastructure + cleanup some redundant imports since the module code already imports those things.
2012-07-30 21:50:32 -04:00
Michael DeHaan
2105418b73
Port the ohai module over, while this is actually *longer* now, not transferring the args file makes this much
...
faster.
2012-07-28 17:07:55 -04:00
Stephen Fromm
67ee30f135
Apply logging of arguments to modules (issue #122 )
...
The ohai and facter modules use /usr/bin/logger to log the fact that
they have been invoked. I added 'import os' to the ping module
so that it could have the same syslog statements as the other modules.
I separated the condensed:
shlex.split(open(argfile, 'r').read())
into two separate statements similar to the other modules.
2012-05-09 15:19:20 -07:00
Jeroen Hoekx
48c210c5ff
Ohai and facter modules should not use the ansible_facts API.
2012-04-24 16:57:04 +02:00
Jeroen Hoekx
08ba4928dc
Allow modules to return facts.
...
If the module result contains "ansible_facts", that will be added to the setup
cache.
2012-04-23 21:28:12 +02:00
Michael DeHaan
c281ce635a
Still seeing some weirdness from ohai but we can probably simplify
...
this until we figure out what that is.
2012-03-02 19:48:37 -05:00
Michael DeHaan
a6b1f6c91f
merge Seth's ansible-command script with ansible proper, so we can do nice output, one line output,
...
and treeish saving everywhere.
there are probably some quirks here we'll want to refine further later, for instance, we should
be able to do nicer things with "can't contact host tracebacks".
2012-02-28 03:54:41 -05:00
Michael DeHaan
1bd1552b43
Relicensing to GPLv3, all previous committers ok'd on mailing list.
2012-02-28 19:08:09 -05:00
Michael DeHaan
fed3462502
applying indentation patch from skvidal
2012-02-25 17:16:23 -05:00
Michael DeHaan
814951b8e1
Update ohai module to run on older python clients.
2012-02-24 02:05:49 -05:00
Michael DeHaan
0cf1ef735d
Added an 'ohai' module. Some weird JSON hackage to get it to work.
2012-02-24 02:04:50 -05:00