Commit graph

22793 commits

Author SHA1 Message Date
Constantin Bugneac
7dd5ec5373 Added deleteOnTermination in the output of list option 2016-12-08 11:23:40 -05:00
Abhijit Menon-Sen
e9071c62ba Add missing variable initializations
Without this, «ec2: state=stopped instance_ids=…» would fail with a
traceback like this:

    if inst.get_attribute('sourceDestCheck')['sourceDestCheck'] != source_dest_check:
NameError: global name 'source_dest_check' is not defined
2016-12-08 11:23:40 -05:00
Brian Coca
a1484a0e5b doc fixes 2016-12-08 11:23:40 -05:00
Frank van Tol
5872e0a493 Update ec2_asg.py 2016-12-08 11:23:40 -05:00
Toshio Kuratomi
2c378cc78a Fix for state=latest with wildcard or virtual provide package names 2016-12-08 11:23:40 -05:00
Achilleas Pipinellis
961082620c Add missing documentation: cron_file requires user to be set 2016-12-08 11:23:40 -05:00
Rob
ed3d248234 Move import statements for easier debugging (correct line numbers) 2016-12-08 11:23:40 -05:00
Brian Coca
205d607320 added version added to new rax_cdb choices 2016-12-08 11:23:40 -05:00
Brian Coca
2d7b1bd1c4 added comment explaining chdir defaults 2016-12-08 11:23:39 -05:00
Brian Coca
d34f89a6fe default chdir to tmpdir to avoid virtualenv issues 2016-12-08 11:23:39 -05:00
Brian Coca
68e7945767 make chdir a path so it resolves shell aliases also removed this_dir logic as it is not needed, chdir is None by default and run_command can handle that. 2016-12-08 11:23:39 -05:00
Rob
61af70c087 Set default of dimensions parameter to be empty dict 2016-12-08 11:23:39 -05:00
Andrew Widdersheim
7d174daa77 Fix detached head detection in is_not_a_branch()
Detached head detection seems to have broken somewhere a long the way
because git decided to change how that situation looks when doing a 'git
branch -a' which is performed by get_branches().

This is how git 1.7.1 displays this situation (which works):

shell> git branch -a
* (no branch)
  master

This is the output from git 1.8.3.1 (which does not work):

shell> git branch -a
* (detached from e132711)
  master

It looks like this same wording is used in the most recent version of
git (2.6.1 as of writing this).
2016-12-08 11:23:39 -05:00
gekmihesg
d003fcd662 Support sysctl on OpenBSD
Fixes #1233
2016-12-08 11:23:39 -05:00
fperks
11dbd985b6 Fix error on ec2 status change
Both `source_dest_check` and `termination_protection` variables are not
available within the scope of the startstopec2 instance method. This just
pulls them from module.params.
2016-12-08 11:23:39 -05:00
James Cammarata
3e6f39dd2b Adding version file for core modules on devel branch 2016-12-08 11:23:39 -05:00
Adrian Lopez
624e95d718 Fix yaml syntax 2016-12-08 11:23:39 -05:00
fxfitz
61cdc2ae90 Fixed spelling mistake: missing 2016-12-08 11:23:39 -05:00
Brian Coca
5b1a508d6a restored quotes to checksum description to avoid breaking docs 2016-12-08 11:23:39 -05:00
Gerard Lynch
27f93bef40 minor doc fix 2016-12-08 11:23:39 -05:00
muszynski@so1.net
2e3ad2b80a description for the get_url module describing checksum verification before file download 2016-12-08 11:23:39 -05:00
Colin Hutchinson
d70c33f932 make a text link into a actual hyperlink
the text link doesn't fit on some screen resolutions. Making it into sphinx hyperlink will solve that
2016-12-08 11:23:39 -05:00
Matias De Carli
f2bc0a6d85 keep backwards compatibility 2016-12-08 11:23:39 -05:00
Simon Li
607b7c14bd Fix incorrect variable in group.py: user -> group 2016-12-08 11:23:39 -05:00
Toshio Kuratomi
99659c8667 Fix docs build 2016-12-08 11:23:38 -05:00
David Shrewsbury
bf9c3e0092 Add author to os_router 2016-12-08 11:23:38 -05:00
David Shrewsbury
78ea0df607 Deprecate older router modules.
The quantum_router_gateway.py and quantum_router_interface.py modules
are deprecated with this change.
2016-12-08 11:23:38 -05:00
James Cammarata
395253c581 A few bug fixes and tweaks for the accelerate module 2016-12-08 11:23:38 -05:00
Brian Coca
45907f2ff3 removed typo 2016-12-08 11:23:38 -05:00
Brian Coca
d55ba3ab7c removed syslog in favor of common module logging functions 2016-12-08 11:23:38 -05:00
Brian Coca
682cb99d45 revert must_exist 2016-12-08 11:23:38 -05:00
Shayne Clausson
92f88a4cb4 Replaces 'old' get_ec2_creds connection method with get_aws_connection_info to support passing in security_token for temporary creds. 2016-12-08 11:23:38 -05:00
David Shrewsbury
f91cc1d3e5 Allow setting external attribute
With shade > 0.13.0, networks can be created that are externally
accessible. This adds a parameter for that.

Also, add RETURN documentation and 'if __name__' check around call
to main().
2016-12-08 11:23:38 -05:00
David Shrewsbury
14546fe33c Allow complete router configuration
This change allows one to completely configure a router, including
gateway and interfaces, using the latest shade (>0.13.0).
2016-12-08 11:23:38 -05:00
justnom
b724bf8f1c Adding additional Docker log drivers.
Adding additional `log_driver` choices:
* journald
* gelf
* fluentd

Compatible with Docker version >= 1.8.0
2016-12-08 11:23:38 -05:00
Alex Kessinger
4d227e508d Fix a argument mismatch in elasticache
I think in this commit 720aeffca2

There was bug introduced where the ElastiCacheManager init method has
a number of positional arguments like so.

```py
    def __init__(self, module, name, engine, cache_engine_version, node_type,
                 num_nodes, cache_port, parameter_group, cache_subnet_group,
                 cache_security_groups, security_group_ids, zone, wait,
                 hard_modify, region, **aws_connect_kwargs):
```

But then later in the code the positional arguments are passed in
like this.

```py
    elasticache_manager = ElastiCacheManager(module, name, engine,
                                             cache_engine_version, node_type,
                                             num_nodes, cache_port,
                                             cache_subnet_group,
                                             cache_security_groups,
                                             security_group_ids, parameter_group, zone, wait,
                                             hard_modify, region, **aws_connect_kwargs)
```

If you count, you can see that cache_subnet_group, is being passed in
where the manager expects to see parameter_group.
2016-12-08 11:23:38 -05:00
Matt Calhoun
52f9c3468c The variable $uppercase_cert_thumbprint cannot be retrieved because it has not been set. 2016-12-08 11:23:38 -05:00
Matt Calhoun
a9d954b087 The variable $winrm_cert_thumbprint cannot be retrieved because it has not been set. 2016-12-08 11:23:38 -05:00
Matt Calhoun
70f7f144e0 The variable $https_listener cannot be retrieved because it has not been set. 2016-12-08 11:23:38 -05:00
Matt Calhoun
72970ab7a8 The variable $winrm_https_listener_path cannot be retrieved because it has not been set 2016-12-08 11:23:38 -05:00
Jens Carl
00f9dfac34 Change type of parameter 'template' to 'path'. 2016-12-08 11:23:38 -05:00
Gerard Lynch
f85a8ac746 allow use of volume_type in volumes dict 2016-12-08 11:23:37 -05:00
Jens Carl
507111f090 Fix to handle user directory within parameter 'template'. 2016-12-08 11:23:37 -05:00
Toshio Kuratomi
e7a48cfb40 Use is_executable from its new location 2016-12-08 11:23:37 -05:00
Toshio Kuratomi
e7d9d86ec9 No longer check for tmp_path being sent as we don't use it here anyway 2016-12-08 11:23:37 -05:00
Tom Bamford
dbf882a600 Clarify available options for device_mapping parameter of ec2_ami module 2016-12-08 11:23:37 -05:00
varnav
a05df49998 Fixed confusion in the docs
As 'path' is actually alias for 'dest', this could be confusing.
2016-12-08 11:23:37 -05:00
Toshio Kuratomi
58573187f8 Change the example of rsync_opts to use a list instead of a string
Fixes #9889
2016-12-08 11:23:37 -05:00
Shawn Silva
2962dabeda Fix for modifying the size of an RDS instance. When attempting to modify the size of an RDS instance Ansible succeeds and returns a "changed" status. However, no changes are applied to the RDS instance. Boto is looking for a keyword parameter of "allocated_storage" to update the size, and this parameter wasn't being included. 2016-12-08 11:23:37 -05:00
Selivanov Pavel
63d2575f9f ec2_group.py: added ICMP rule example 2016-12-08 11:23:37 -05:00