Blair Zajac
fa8e653011
Simplify and correct comparisons with None.
2013-02-16 13:32:48 -05:00
Michael DeHaan
663a8fef3f
chmod -x for all module files in source checkout
2012-11-19 13:47:40 -05:00
Jan-Piet Mens
feab57e270
Reformat code: examples consistently
...
- added terse syntax to modules.rst
- added description of special variables to template module
2012-10-23 15:14:01 +02:00
Jan-Piet Mens
28698d5fcf
Attribute author of virt correctly (sorry)
2012-09-30 14:08:47 +02:00
Jan-Piet Mens
7a3b2ac287
DOCUMENTATION for virt
2012-09-30 12:40:11 +02:00
Seth Vidal
9d88b3eedd
add import sys to virt module b/c it needs it if the libvirt python
...
module is missing
2012-09-07 16:05:42 -04:00
Michael DeHaan
477ca2ed1a
Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
...
directory.
2012-08-11 12:35:58 -04:00
Michael DeHaan
faed4b5a33
whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
...
in 0.6 release)
2012-08-06 20:07:02 -04:00
Michael DeHaan
7e9e29011e
Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
...
AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
2012-08-02 21:29:10 -04:00
Seth Vidal
4d29cd6ee3
make virt module command= work again - better error handling should be in its
...
future
2012-08-02 17:46:21 -04:00
Michael DeHaan
ce5f3dd148
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
d0f6410326
Porting the virt module to new module core.
2012-07-30 21:16:29 -04:00
Michael DeHaan
487c826700
Tweak alias consistency a bit. 'package' has never been documented, but since it works, make it work in both places.
...
'name' is the preferred form. Similarly, take 'name' for the 'guest' argument to the 'virt' module.
2012-07-28 09:22:13 -04:00
Michael DeHaan
ecb944892d
Tweaks on previous refactoring of playbook, version bump a 0.4 reference, remove some debug, etc
2012-05-26 01:20:53 -04:00
Stephen Fromm
aea022b002
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
Tim Bielawa
c9ab5ebc6b
Fix FSF address in virt header.
2012-04-17 10:30:44 -04:00
Martijn Koster
f936616f91
comment typos
2012-04-13 11:19:36 +01:00
Seth Vidal
254f98bdf5
handle incorrect commands w/o '=' slightly better
2012-04-05 17:03:36 -04:00
Seth Vidal
66f9a697ed
edit comment to reflect real args
2012-04-04 17:25:02 -04:00
Seth Vidal
8a61794234
add idempotent and ='s separated parameters to virt module to make people happy
2012-04-04 17:17:29 -04:00
Seth Vidal
415f4baa15
add virt module for libvirt interaction/support
2012-04-04 14:30:24 -04:00