Commit Graph

49 Commits (94de4db928c274b4aa5006530789820c5bb7f5fa)

Author SHA1 Message Date
Daniel Hokka Zakrisson 56b1a8ceed Invoke is_installed correctly from rpm path
14 years ago
Seth Vidal 5dbc85e8ad fix up local_nvra
14 years ago
Michael DeHaan ded0c61750 meaningless whitespace changes
14 years ago
Michael DeHaan de4b8dc53a Can use fail JSON here, remove debug statement
14 years ago
Michael DeHaan 58c975d621 Fix aliases, package not found is not an error
14 years ago
Seth Vidal 3175eacfc4 fixes to yum module
14 years ago
Seth Vidal 14479e6adc cover all of the edge cases with and without yum-utils installed.
14 years ago
Seth Vidal 2e3926d13f subprocess is already imported in module_common - no need for it here
14 years ago
Michael DeHaan 67301c1015 rename variable 'pkg' in yum module such that the auto-handled error messages use the same key.
14 years ago
Michael DeHaan 1e4d45af1e Add module common code to allow it to be easier to indicate whether arguments are mutually exclusive, required in conjunction, or whether one of a list of arguments is required. This simplifies writing Python modules.
14 years ago
Michael DeHaan 477ca2ed1a Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
14 years ago
Michael DeHaan ef18f9d953 Fix a scoping issue that was fixing some non-repoquery-installed cases
14 years ago
Michael DeHaan 63641da225 Merge branch 'yum-wo-repoquery' of https://github.com/dhozac/ansible into devel
14 years ago
Seth Vidal 5c458b9761 make yum module work with list=pkgspec
14 years ago
Daniel Hokka Zakrisson 5a7d271759 Allow using the yum module without repoquery
14 years ago
Michael DeHaan c82f06258c Only run yum,apt through the with_items loop if there is a list of items. Just a cosmetic fix on return values
14 years ago
Seth Vidal 61e02d508c add show-duplicates to reqpoquery to keep people who
14 years ago
Seth Vidal ca63173bf0 missed the quotes
14 years ago
Seth Vidal 70eea69e79 fix up yum state=latest with pkg groups
14 years ago
Michael DeHaan faed4b5a33 whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
14 years ago
Michael DeHaan 7e9e29011e Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
14 years ago
Seth Vidal fd492bebc6 - add a check for repoquery so we can abort politely
14 years ago
Michael DeHaan fa79d57d13 changelog / remove a failed=False
14 years ago
Michael DeHaan b7c3fd1246 failed should not be in the result returns for a module upon success
14 years ago
Seth Vidal c91befda5c redo of yum module - uses more system calls but should handle
14 years ago
Michael DeHaan 25acfa8170 Join with_items for the apt module, yum pending, and various fixes to the yum module to support aliases
14 years ago
Michael DeHaan 8700de964c Teach the common module code to warn users about typo'd arguments and also set everything to None automatically such
14 years ago
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.
14 years ago
Michael DeHaan 487c826700 Tweak alias consistency a bit. 'package' has never been documented, but since it works, make it work in both places.
14 years ago
Michael DeHaan 2030f82bf2 Further standardize the yum module
14 years ago
Nikhil Singh b47bed9601 Standardizing the yum module
14 years ago
Stephen Fromm aea022b002 Apply logging of arguments to modules (issue #122)
14 years ago
Seth Vidal a3ab793ba8 fixes for yum module for rhel5 and issue 269
14 years ago
Martijn Koster f936616f91 comment typos
14 years ago
Michael DeHaan ff5d329374 Yum package state defaults to installed
14 years ago
Michael DeHaan b418632a8d Allow yum module to use package or name as an alias for 'pkg'
14 years ago
Michael DeHaan f92760de6c If missing state or name or list parameter on yum module, raise error explaining what is up.
14 years ago
Seth Vidal 08163c6251 catch all exceptions and emit sensible errors - if we have a config file error this lets us know about it
14 years ago
Michael DeHaan 5764ccdb0e Eliminate possible race condition in async_wrapper where ansible deletes the argsfile while the module
14 years ago
Seth Vidal 37f599efc3 make sure latest outputs an error if the thing you've listed as 'latest'
14 years ago
Seth Vidal 1d04ec89b7 fix up latest so it behaves like latest should
14 years ago
Seth Vidal a27be2651c make yum module work with older yum for rhel5 :(
14 years ago
Michael DeHaan a5f4ca50b8 Ratchet up logging a few notches prior to controlling w/ verbosity settings
14 years ago
Seth Vidal a9a9e3af65 modify yum to be used with argsfile and fix a number of items with
14 years ago
Seth Vidal 0b94c78042 yum module
14 years ago
Seth Vidal a99b491b32 touch up to yum module.
14 years ago
Michael DeHaan 209760f8f6 Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site.
14 years ago
Michael DeHaan 1699013fbd Rename 'ensure' to 'state' so it lines up with the service module
14 years ago
Seth Vidal b576e389b1 runner buglet and yum module
14 years ago