Commit graph

8296 commits

Author SHA1 Message Date
René Moser
abe406f074 cloudstack: cs_staticnat: add vpc support (#2285)
* cloudstack: cs_staticnat: add network arg, used for VPC support

* cloudstack: cs_staticnat: removed unused code
2016-05-27 20:57:09 +02:00
René Moser
039005bfaa cloudstack: cs_firewall: get_network moved to utils, cleanup (#2293) 2016-05-27 20:56:00 +02:00
René Moser
5a7a9a0a30 cloudstack: cs_template: fix typos (#2294) 2016-05-27 20:55:03 +02:00
René Moser
53ffd5f82b cloudstack: new module cs_snapshot_policy (#2303) 2016-05-27 20:53:59 +02:00
Dmitry Marakasov
e316888f21 Freebsd pkgng autoremove support (#2324)
* Whitespace cleanup

* Add autoremove capability to pkgng

* Add "default" and "choices" documentnation items for autoremove
2016-05-27 09:49:54 -04:00
René Moser
e388fb4006 consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
2016-05-27 15:46:56 +02:00
Elena Washington
3ca06bf1c8 iptables: option to configure Source NAT (#2292)
* Clean up trailing whitespace

* Add `--to-source` option to allow Source NAT (fix for #2291)
2016-05-26 09:51:31 -07:00
Matt Martz
1ea51b2f99 Merge pull request #2316 from sivel/mssql-py27
Exclude mssql_db.py from py24 syntax checks
2016-05-26 10:17:10 -05:00
Matt Martz
98039323e2 Exclude mssql_db.py from py24 syntax checks 2016-05-26 10:06:36 -05:00
Matt Martz
f78b7d65e1 Merge pull request #2310 from angstwad/fix-rabbitmq-user
Fix Traceback on rabbitmq_user when "node" argument is used
2016-05-26 09:56:50 -05:00
Andrew Miller
63134a85d2 Cpanm module could not use less than Python 2.6
Removed str.format() dependency to allow cpanm module to work on nodes with versions of Python less than 2.6.
2016-05-26 16:21:12 +09:00
Paul Durivage
ca61b2dd9d fix command list to extend, not append 2016-05-25 15:15:00 -05:00
Toshio Kuratomi
0e4a023a7e The pymssql library requires python 2.7 or greater so port the syntax of this file to use python3-style exception handling 2016-05-25 12:09:49 -07:00
Hans-Joachim Kliemeck
e7e3620983 allow empty user for kerberos ticket usage
fix syntax problems:
* it is possible that sql injection is done, therefore the [DBNAME] syntax is used.
* it is not possible to use default escape on cursor.execute for DBNAME, since it will insert single quotes around the name and this will cause syntax problems / single quotes within the actual DBNAME

implement autocommit setting, since some content can not be imported within transaction

fix for automatic tests

fix problems with named instances, corrected error message regarding configuration file

remove unused placeholder
2016-05-25 12:05:37 -07:00
Firat Arig
b827b7398c Working mssql db controller
Using pymssql string interpolation

Cursor does string interpolation at script execution

Handled edge cases in import and delete

updated ansible version number
2016-05-25 12:05:31 -07:00
Toshio Kuratomi
4b4557eb97 Fix exception catching for python3 2016-05-25 11:58:49 -07:00
Benjamin Curtis
76cbe30645 Add honeybadger_deployment module 2016-05-25 11:58:49 -07:00
Toshio Kuratomi
5b2bf6f08a Fix python3 syntax compilation 2016-05-25 11:48:16 -07:00
Mike Mochan
698d2a55c5 update remote tags if changed 2016-05-25 11:46:31 -07:00
Mike Mochan
cab7437e32 added tagging for the remote account 2016-05-25 11:46:31 -07:00
Mike Mochan
9a303f1628 Updates to version and requirements 2016-05-25 11:46:31 -07:00
Mike Mochan
2934495efc Added tagging functionality 2016-05-25 11:46:31 -07:00
Mike Mochan
a58a12fc1f All calls to describe_vpc_peering_connections need to use the params dict 2016-05-25 11:46:31 -07:00
Mike Mochan
8ab4963e78 Remove unused vars and pass params dict to describe_peering_connections 2016-05-25 11:46:31 -07:00
Mike Mochan
2291fc00d2 update to capture peer status 2016-05-25 11:46:31 -07:00
Mike Mochan
2392395a47 removed obsolete ec2 resource object 2016-05-25 11:46:31 -07:00
Mike Mochan
10ce4d8b88 refactored to use dict invocation for calling client peerings functions 2016-05-25 11:46:31 -07:00
Mike Mochan
f6c7bdf9c5 updates to Documentation - Removed refs to Boto, added params dict() and removed obsolete if statements 2016-05-25 11:46:31 -07:00
Mike Mochan
34ae687ae3 cloud/amazon/ec2_vpc_peer.py 2016-05-25 11:46:31 -07:00
Mike Mochan
f84af48733 removed debug package 2016-05-25 11:46:31 -07:00
Mike Mochan
92dea03181 Version added, GPLv3 License header added 2016-05-25 11:46:31 -07:00
Mike Mochan
400484f69f Initial commit for cross account VPC peering module 2016-05-25 11:46:30 -07:00
dougluce
b6b04795c3 Don't bomb if original didn't exist (#2295)
If we don't have an existing file, original ends up as None.  Bug
introduced in 70fa125
2016-05-25 07:54:07 +02:00
Adrian Likins
d1a4f703ce Fix pkgutil "upgrade_catalog must be one of" err (#2149)
The arg spec for update_catalog include 'type=bool'
and 'choices=["yes", "no"] which can never both be
true.

Remove the 'choices' directive, and update doc string.

Fixes #2144
2016-05-24 11:55:14 -04:00
René Moser
a055d7240a fix build and doc cleanups (#2286) 2016-05-24 13:24:04 +02:00
jhawkesworth
e35d5f2c54 Add info about where you can find product ids for changed checking on win_package module (#2281) 2016-05-23 16:14:49 -04:00
Toshio Kuratomi
342af8b249 Add __init__.py and update version_added to fix module for ansible-validate checks 2016-05-23 13:06:14 -07:00
Fernando José Pando
0d8eefe197 fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
2016-05-23 11:39:20 -04:00
Dag Wieers
4afae893e1 Convert module to work with python 2.4 and fix a bug (#2251)
- Avoiding the use of 'with ... as ...' and 'except ... as ...' constructs.

- Make use of posixpath.join() rather than concatenating slashes ourselves
  (To avoid having consecutive slashes which broke something on our side)
2016-05-23 11:18:05 -04:00
Mike Mochan
6d52d84af7 New AWS module for managing VPC Network ACLs (#1502)
* New AWS module for managing VPC Networks ACLs

Moved return  outside of try block

botocore.exceptions to support python 2.5

For some reason Travis is using Python V2.4 to run the tests - My code is valid

duplicate file

* Fixed NameError Exception- module not being passed when calling some boto3 client methods

* Fixes a bug reported by @dennisconrad, where the nacl is not created when subnets list is empty

* nacl property changed to name and fixes a bug where nacl is not deleted when subnets list is empty

* Updates to version and requirements

* Fix 'vpc' param to 'vpc_id' to match documentation and convention
2016-05-23 10:42:11 -04:00
Ryan Sydnor
0ba34435cf Add encryption capability to AMI copy (#1409) 2016-05-23 10:39:02 -04:00
Brian Coca
eb6ba749c2 added return docs 2016-05-23 10:36:47 -04:00
Adam Števko
0d54d1ffe4 Add module for retrieving SmartOS image facts (#1276) 2016-05-23 10:35:55 -04:00
Brian Coca
ecee427cbc added note about behaviour change in 2.2 2016-05-23 10:35:03 -04:00
Leo Antunes
d54905ecee Allow multiple keys per host + minor improvements (#716)
* known_hosts: clarify key format in documentation

Add a small clarification to the documentation about the format of the
"key" parameter.
Should make #664 less of a issue for newcomers.

* known_hosts: normalize key entry to simplify input

Keys are normalized before comparing input with present keys. This
should make it easier to deal with some corner cases, such as having a
hashed entry for some host and trying to add it as non-hashed.

* known_hosts: allow multiple entries per host

In order to support multiple key types and allow the installed ssh
version to decide which is more secure, the module now only overwrites
an existing entry in known_hosts if the provided key is of the same
type.
Old keys of different types must be explicitly removed. Setting
state to "absent" and providing no key will remove all entries for the
host.
2016-05-23 10:33:52 -04:00
Rob
b9ab1f9f5c Add section on how to return boto3 CamelCased results (#2279) 2016-05-23 10:31:41 -04:00
Michael Scherer
a780dbf4e1 Port patch.py to python3/python2.4 syntax (#2276) 2016-05-23 09:44:57 -04:00
Hagai Kariti
7e08d01010 bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
2016-05-23 09:29:26 +02:00
Nicolas Landais
b11029adca Fix problem with 'restarted' state not restarting the apppool when it is in running state (#1451)
* Fix problem with 'restarted' state not restarting the apppool when it is in running state

* Implemeting code review comments

Comment from previous commit “You basically want to start the pool if
it's stopped and requested state is started or restarted, otherwise if
requested state is restarted, restart it.” This commit implements the
behavior stated in the PR comment
2016-05-20 17:31:46 -07:00
Corwin Brown
d2900e856b Add Win Robocopy module (#1078)
* Added more robust error handling

* Add Win Synchronize module

Renamed win_synchronize to win_robocopy

Updating email address

Adding "flags" argument.

Adding a "flags" argument that will allow the user to pass args
directly to robocopy.

If "flags" is set, recurse and purge will be ignored.

Add return code to output

Added bits to support check mode

Fixing typo in Documentation

Updated Documentation to have "RETURNED" field

Updated win_robocopy.py to have the RETURNED field. I also noticed
that win_robocopy.ps1 wasn't really using the "changed" attribute,
so I went in and made sure it was being set appropriately.

Forcing bool type for recurse and purge flag

Updated "version_added"
2016-05-20 17:25:24 -07:00