Commit graph

27106 commits

Author SHA1 Message Date
Gerrit Germis
f61878fa80 fail when backend host is not found (#1385) 2016-12-08 11:34:19 -05:00
Brian Coca
beabafa99f minor fixes
removed unused imports
rearranged basic import
added if/main for testing/importability
2016-12-08 11:34:19 -05:00
jjshoe
2ba75b7082 A couple of touch ups (#2288)
I peeked at #2281 a little late, thought this might help some as well.
2016-12-08 11:34:19 -05:00
Stefan Horning
2cf50cb971 Streamlined ec2_elb_facts module return values with naming in ec2_elb… (#2081)
* Streamlined ec2_elb_facts module return values with naming in ec2_elb_lb (hosted zones)

* Keep the old return values for hosted zone to keep backwards compatibility
2016-12-08 11:34:19 -05:00
Adrian Likins
6eae4cf448 Fix bad merge of #555 (mv bigip_gtm_virtual_server) (#2302)
f5/ was the wrong directory. Move it to network/f5
and remove f5/.
2016-12-08 11:34:19 -05:00
René Moser
4f09e2caab cloudstack: cs_ip_address: add vpc support (#2283)
* cloudstack: cs_ip_address: add vpc support

* cloudstack: cs_ip_address: remove unused/unreachable code
2016-12-08 11:34:19 -05:00
René Moser
e9642a6de7 cloudstack: cs_staticnat: add vpc support (#2285)
* cloudstack: cs_staticnat: add network arg, used for VPC support

* cloudstack: cs_staticnat: removed unused code
2016-12-08 11:34:19 -05:00
René Moser
28648f6434 cloudstack: cs_firewall: get_network moved to utils, cleanup (#2293) 2016-12-08 11:34:19 -05:00
René Moser
8ac52fbb2c cloudstack: cs_template: fix typos (#2294) 2016-12-08 11:34:18 -05:00
René Moser
652b50753d cloudstack: new module cs_snapshot_policy (#2303) 2016-12-08 11:34:18 -05:00
Dmitry Marakasov
472bf733e0 Freebsd pkgng autoremove support (#2324)
* Whitespace cleanup

* Add autoremove capability to pkgng

* Add "default" and "choices" documentnation items for autoremove
2016-12-08 11:34:18 -05:00
René Moser
e6766078ea consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
2016-12-08 11:34:18 -05:00
Elena Washington
6efea4a064 iptables: option to configure Source NAT (#2292)
* Clean up trailing whitespace

* Add `--to-source` option to allow Source NAT (fix for #2291)
2016-12-08 11:34:18 -05:00
Matt Martz
081303c111 Exclude mssql_db.py from py24 syntax checks 2016-12-08 11:34:18 -05:00
Paul Durivage
8166302d3d fix command list to extend, not append 2016-12-08 11:34:18 -05:00
Toshio Kuratomi
0d706d25b6 The pymssql library requires python 2.7 or greater so port the syntax of this file to use python3-style exception handling 2016-12-08 11:34:18 -05:00
Hans-Joachim Kliemeck
e43e572770 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-12-08 11:34:18 -05:00
Firat Arig
80a77ea00a 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-12-08 11:34:18 -05:00
Toshio Kuratomi
adc5ea5168 Fix exception catching for python3 2016-12-08 11:34:18 -05:00
Benjamin Curtis
778bffe35c Add honeybadger_deployment module 2016-12-08 11:34:18 -05:00
Toshio Kuratomi
38c5a0067e Fix python3 syntax compilation 2016-12-08 11:34:18 -05:00
Mike Mochan
8472ef95e5 update remote tags if changed 2016-12-08 11:34:18 -05:00
Mike Mochan
f39c98b8fc added tagging for the remote account 2016-12-08 11:34:18 -05:00
Mike Mochan
7acd9c0e34 Updates to version and requirements 2016-12-08 11:34:18 -05:00
Mike Mochan
c1ccc831e8 Added tagging functionality 2016-12-08 11:34:17 -05:00
Mike Mochan
1b170a145e All calls to describe_vpc_peering_connections need to use the params dict 2016-12-08 11:34:17 -05:00
Mike Mochan
439c4aa979 Remove unused vars and pass params dict to describe_peering_connections 2016-12-08 11:34:17 -05:00
Mike Mochan
deaf40d942 update to capture peer status 2016-12-08 11:34:17 -05:00
Mike Mochan
985e485706 removed obsolete ec2 resource object 2016-12-08 11:34:17 -05:00
Mike Mochan
5963fc4641 refactored to use dict invocation for calling client peerings functions 2016-12-08 11:34:17 -05:00
Mike Mochan
64f947a327 updates to Documentation - Removed refs to Boto, added params dict() and removed obsolete if statements 2016-12-08 11:34:17 -05:00
Mike Mochan
655d08f62f cloud/amazon/ec2_vpc_peer.py 2016-12-08 11:34:17 -05:00
Mike Mochan
842b347c7e removed debug package 2016-12-08 11:34:17 -05:00
Mike Mochan
39a132a44e Version added, GPLv3 License header added 2016-12-08 11:34:17 -05:00
Mike Mochan
a6814e0774 Initial commit for cross account VPC peering module 2016-12-08 11:34:17 -05:00
dougluce
aaaf37ae41 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-12-08 11:34:17 -05:00
Adrian Likins
f096cd6322 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-12-08 11:34:17 -05:00
René Moser
99646d5dbb fix build and doc cleanups (#2286) 2016-12-08 11:34:17 -05:00
jhawkesworth
ac44058457 Add info about where you can find product ids for changed checking on win_package module (#2281) 2016-12-08 11:34:17 -05:00
Toshio Kuratomi
0d51743e23 Add __init__.py and update version_added to fix module for ansible-validate checks 2016-12-08 11:34:16 -05:00
Fernando José Pando
65bae8f76b fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
2016-12-08 11:34:16 -05:00
Dag Wieers
0e3713971a 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-12-08 11:34:16 -05:00
Mike Mochan
275210b06e 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-12-08 11:34:16 -05:00
Ryan Sydnor
e6d5c41f73 Add encryption capability to AMI copy (#1409) 2016-12-08 11:34:16 -05:00
Brian Coca
13cf09f949 added return docs 2016-12-08 11:34:16 -05:00
Adam Števko
da95dd5652 Add module for retrieving SmartOS image facts (#1276) 2016-12-08 11:34:16 -05:00
Brian Coca
3f22667151 added note about behaviour change in 2.2 2016-12-08 11:34:16 -05:00
Leo Antunes
c0570d275b 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-12-08 11:34:16 -05:00
Rob
716e1576d4 Add section on how to return boto3 CamelCased results (#2279) 2016-12-08 11:34:16 -05:00
Michael Scherer
06e3950efb Port patch.py to python3/python2.4 syntax (#2276) 2016-12-08 11:34:16 -05:00