Commit Graph

27163 Commits (c1f7fa2f3b78ccb159ed789990f4ec3e9924c219)
 

Author SHA1 Message Date
Michael Scherer c1f7fa2f3b ovirt_auth: fix type and password leak (#3119)
Do not leak the password in log, and verify the path of ca_file
8 years ago
Ville Reijonen e5688c709a win_scheduled_task: fix days_of_week var command typo (#3198) 8 years ago
Michael Scherer adc62226d4 Make dnssimple compile on python 3 8 years ago
hyperized d815890aa6 Update irc.py (#3144)
Proposal to update the example to YAML syntax.
8 years ago
Benjamin Copeland 2796370b57 statusio_maintenance: Fix minor typo (#3137) 8 years ago
Jasper Lievisse Adriaanse 83a6032b7a Remove incorrect statement, uri module doesn't require httplib2 anymore 8 years ago
Michael Scherer 8676924da5 Fix proxmox for python 3
Since it doesn't work on python 2.4, we can use the native
exception handling way for python 3
8 years ago
Michael Scherer 37b62a1db3 Remove gce from the blacklist for python 3 tests, forgot in #3179 8 years ago
Toshio Kuratomi f77aa869b8 Few more places where gce modules need python3 compat exceptions 8 years ago
Michael Scherer 7ba630eda2 Make xenserver_facts compile on python 3
Since the xenapi is not needed on python 2.4, we can use the
regular exception handling code
8 years ago
Michael Scherer 9f5f85c9f0 Port ovirt to python 3
Since ovirt sdk is not running on python 2.4, we can use python 2.6
syntax directly for exceptions.
8 years ago
Michael Scherer 715b88a8a5 Make redis run on python 3 8 years ago
Michael Scherer 11d88bc1a8 Fix gce module to compile on python 3 (#3179) 8 years ago
Michael Scherer da6851bdf4 Make expect module compile on python 3 8 years ago
Michael Scherer 415c2d4591 Make sensu_check compile on python 3 (#3177) 8 years ago
Eric D Helms 151c6d2f88 Fix broken entities reference in Katello module (#3136) 8 years ago
Patrik Lundin 896dec44a6 openbsd_pkg: Use correct part of name in match. (#3151)
* openbsd_pkg: Use correct part of name in match.

Previously this part of the code could assume that the name was a stem
with nothing else attached (like "autoconf"). With the introduction of the
branch syntax ("autoconf%2.13") this is no longer true.

Check if the package name was identified as using a "branch" style name,
and base the match on the leading part of the name if that is the case.

While here remove unnecessary "pass" and tidy up debug log message.

Problem reported by @jasperla.

* openbsd_pkg: Add missing "." in comment.
8 years ago
Ryan Currah 00adb6e5d4 Fix mongodb_user.py version detection logic (#3162)
Fix mongodb_user.py version detection logic for mongo srv 2.6 and mongo driver 2.7. The wrong variable was used for detecting the mongo driver version. This fix resolves the error "(Note: you must use pymongo 2.7+ with MongoDB 2.6.. 2.6.11)" no matter what version of pymongo you had installed for mongodb 2.6.
8 years ago
Ryan Brown bbe8e1f53b Fix `archive` truncating archived file names based on prefix length (#3124)
When archiving multiple files, the full length of the calculated
`arcroot` would be removed from the beginning of all file names. If
there was no arcroot, the first two characters of all files would be
removed, so `file.txt` would become `le.txt`.

This patch uses the regular expressions substitution anchored to the
start of the string, so the arcroot is only removed if it is actually
present.
8 years ago
Ryan Brown 25da992785 Fix failure to apply bucket policy when creating a bucket from scratch (#3091) 8 years ago
Michael Scherer 9aec480f59 Make irc.py compile on python3 8 years ago
Michael Scherer 1f406d4530 Port virt to python3 (#3167) 8 years ago
Michael Scherer 9be3e67e21 Make sure that the token is not printed in log (#3115) 8 years ago
Michael Scherer 138aaa4ff3 Fix crypttab (#3121)
* Fix error in crypttab doc

* Use path type for file argument

This permit to make sure that $HOME and '~' are properly
expanded, even if in the case of crypttab, this might not make
a lot of sense
8 years ago
Ivan Bojer 3c06e2585a PanOS module for admin password change using PanOS API as the transport (#2930)
* PanOS module that allows admin password change.

* fixed a typo

* empty __init__.py

* added require ansible Python extension .py

* added version string

* added return docstring

* changed version to 2.2

* - changes to the format and module as requested by @privateip

* changed version back to 2.2 as 2.3 was failing automated tests

* Revert "changed version back to 2.2 as 2.3 was failing automated tests"

reverting version info

This reverts commit 71d520f3b4b69eb017c2b9f287a74cb77fae9d1c.
8 years ago
Toshio Kuratomi badce91e80 Fix a couple undefined variables
One was a typo and one needed to have the variable defined in that scope
8 years ago
Tim Rupp 79895061b4 Fixes broken documentation in two modules (#3150)
The modules listed in this PR were using YAML that resulted in
blockquote tages being inserted into the generated RestructedText.

This PR fixes that so that the documentation once again looks correct
8 years ago
Aleksey Gavrilov 951f1d280c proxmox add exaples static ip (#3092) 8 years ago
Michael Scherer b52d0f65d6 Fix wrong variable name 8 years ago
Michael Scherer 6769bbf1a6 Do not leak the solaris root password in the log 8 years ago
afunix 60d84aca07 gluster_volume adds replica and stripe arguments when adding bricks [#2754] (#2812) 8 years ago
Michael Scherer 343134bd0f Do not leak the channel token in log (#3117) 8 years ago
Michael Scherer c50ac02b30 Add verification for the arguments of opendj_backendprop (#3116) 8 years ago
Eric D Helms f4d83486a9 New module: Manage Foreman and Katello entities (#2450) 8 years ago
Michael Scherer 9ba5218631 Do not leak the newrelic token in log (#3118) 8 years ago
Michael Scherer b03e95418e Do not leak the password of gitlab_user in log (#3122) 8 years ago
Ryan S. Brown 001cf5cfc5 `lambda` correct documentation of return output
The returns are actually nested under `configuration` keys, so the docs
need to reflect that. Also add the automatic return of the function
version, so it can be used to feed the `lambda_alias` module.
8 years ago
Ryan S. Brown b7ca9d6567 `lambda` Support using the role name
Instead of needing the full role ARN, allow users to specify a role name
as long as the role exists in the same account.
8 years ago
Adam Miller 3ac2a498ae add offline mode to firewalld
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
8 years ago
Peter Sprygada 00cc7c03fa Revert "update mask_passwords argument to be more descriptive in asa_config (#3109)" (#3110)
This reverts commit 271e300745.
8 years ago
Peter Sprygada 1b6a424375 update mask_passwords argument to be more descriptive in asa_config (#3109)
This changes the passwords argument to mask_passwords to make the
argument more descriptive of its intended function
8 years ago
René Moser 9518290454 cloudstack: cs_portforward: fix rule not found if domain is not account's domain. (#3093)
cs_portforward will not find the rule and tries to create it resulting in an API error.

Thanks to @mostkopf for reporting.
8 years ago
Peter Sprygada d698a9b5f7 fixes asa_config to allow config to include passwords, defaults or none (#3102)
The fix allows the asa_config module to request the config to contain
all default statements or password information necessary for vpn
tunnel endpoints
8 years ago
Peter Sprygada 817881d64f fixes problem where wrong ACL could be selected (#3099)
This fixes a bug where the wrong acl name could be matched in the running
config if the desired acl name is a starting subset.
8 years ago
Tim Rupp 6f0477a780 Fixes the enabled_vlans argument (#3061)
This argument had a couple of issues with it. First, as it was
being interpreted in the code, it did not check for idempotency.

Second, the model of having the parameters be "all_*" is going to
hinder the ability to "undo", so-to-speak, what the user did while
maintaining legibility.

Consider if the user specified "all_enabled_vlans='net1'" and then
decided they wanted to backout of this decision. What is the proper
argument to fulfill this wish? "all_enabled_vlans='...?'

This patch changes the all_enabled_vlans argument to be "enabled_vlans",
ensures that idempotency works, and also provides for a way to "undo" a
change to the enabled VLANs by allowing the user to specify the special
case VLAN named "ALL" (all capitals).

This makes the parameter more intuitive because the users will specify
which vlans they want to make the virtual available on

  * enabled_vlans="net1"

but also allows them to "undo" what they did by setting it back with
the case of all

  * enabled_vlans="ALL"
8 years ago
Tim Rupp 223d5cc7ee Adds copyright line for F5 contributed modules (#3081)
I was asked to do this as part of the contribution effort in house
8 years ago
Tim Rupp de08965ab3 Corrects the required SDK version (#3095)
The SDK version that was mentioned originally was incorrect
8 years ago
Pieter Hollants c2992fbb81 zypper_repository: Prepend --gpg-auto-import-keys before refresh command (#3088)
Fixes #3086.
8 years ago
Robin Roth 48ee364950 Add documention for enabled option in zypper_repository (#3083) 8 years ago
René Moser d2eeabf129 slack: fix handling of html entities and escaping (#3032)
for < > & ' and "
8 years ago