Commit Graph

25 Commits (b72dedc36e60dcb5857da4f35274409c0ecced83)

Author SHA1 Message Date
Victor Castell 5d8055f970 Typo in docs 12 years ago
Victor Castell d5fdfe6c79 Enable virt module to work with different libvirt connection uris. This allow to work with all libvirt supported VMs. 12 years ago
Victor Castell 493aa0f323 Examples must use "name" parameter instead of "guest" for virt module, both works though but code explicitly expects name as the guest VM identifier. 12 years ago
fdavis f73ce5d4a2 virt module doc fix 12 years ago
Blair Zajac 6d5991aa4c Simplify and correct comparisons with None. 12 years ago
Michael DeHaan 6f6559670f chmod -x for all module files in source checkout 12 years ago
Jan-Piet Mens d069c57974 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Jan-Piet Mens 4a4979314f Attribute author of virt correctly (sorry) 12 years ago
Jan-Piet Mens a692b4bba2 DOCUMENTATION for virt 12 years ago
Seth Vidal 7c4bbb0a77 add import sys to virt module b/c it needs it if the libvirt python
module is missing
12 years ago
Michael DeHaan 3c2eba57fd Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
directory.
12 years ago
Michael DeHaan 5ed21bf443 whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
in 0.6 release)
12 years ago
Michael DeHaan baacde6c74 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.
12 years ago
Seth Vidal c49004f2ef make virt module command= work again - better error handling should be in its
future
12 years ago
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. 12 years ago
Michael DeHaan dd1072a6e2 Porting the virt module to new module core. 12 years ago
Michael DeHaan 948e357766 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.
12 years ago
Michael DeHaan 21d195e21d Tweaks on previous refactoring of playbook, version bump a 0.4 reference, remove some debug, etc 13 years ago
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.
13 years ago
Tim Bielawa c98ed049c3 Fix FSF address in virt header. 13 years ago
Martijn Koster f2d9169672 comment typos 13 years ago
Seth Vidal c7634619f3 handle incorrect commands w/o '=' slightly better 13 years ago
Seth Vidal 7be9f1dfa8 edit comment to reflect real args 13 years ago
Seth Vidal 26a0644a27 add idempotent and ='s separated parameters to virt module to make people happy 13 years ago
Seth Vidal 7f328752be add virt module for libvirt interaction/support 13 years ago