Commit graph

5 commits

Author SHA1 Message Date
Patrik Lundin
8b2bd3e5a4 openbsd_pkg: revert "changed" simplification.
module.exit_json() does not like when the "changed" variable contains a
match object:

TypeError: <_sre.SRE_Match object at 0x81e2ae58> is not JSON serializable
2014-09-28 10:01:34 +02:00
Patrik Lundin
30a31e8524 Simplify logic by using required=True. 2014-09-28 10:01:33 +02:00
James Cammarata
4b0b0e58a9 Refactor openbsd package upgrade change to work more like yum/apt 2014-09-28 10:01:33 +02:00
Patrik Lundin
0af146685c openbsd_pkg: add upgrade argument.
Running the module with the argument "upgrade=yes" invokes an upgrade of
all installed packages.

While here clean up some comments.

Functionality requested by @qbit.
2014-09-28 10:01:33 +02:00
Michael DeHaan
b1e789968b File extensions! 2014-09-26 10:40:16 -04:00
Renamed from packaging/openbsd_pkg (Browse further)