Benno Joy
88509fdb27
Merge pull request #729 from PugglePay/ec2_vol_find_or_create
...
[ec2_vol] Find or Create volume by name
2015-05-12 12:32:10 +05:30
Jell
6b27cdc08e
[ec2_vol] Find or Create volume by name
2015-05-12 07:06:37 +02:00
Brian Coca
20abd5cf68
Merge pull request #1305 from bcoca/unarchive_max_tb_fix
...
generic fix for Exceptions that happen when trying to set permissions
2015-05-11 22:46:10 -04:00
Toshio Kuratomi
1f99382dfb
Finish up cleanups to modules:
...
* Add python>= 2.6 to documented requirements when a module's deps need
python>= 2.6 so we know when a module can use python2.6+ syntax
* Remove BabyJSON usage
* Change modules to use if __name__ == '__main__' so that they can
potentially be unittested
The BabJSON changes Fixes #1211
2015-05-11 13:21:17 -07:00
Toshio Kuratomi
60a66a544d
Several cleanups to many modules:
...
* Fix docs to specify when python2.6+ is required (due to a library
dep). This helps us know when it is okay to use python2.6+ syntax in
the file.
* remove BabyJson returns. See #1211 This commit fixes all but the
openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
if the module is run as a program. This allows for the potential to
unittest the code later.
2015-05-11 12:15:53 -07:00
Toshio Kuratomi
c8d099a50c
Run python2.4 compat tests on a pair of amazon modules that do not use boto
2015-05-11 12:15:11 -07:00
Brian Coca
9a2e64b76d
generic fix for Exceptions that heppen when trying to set permissions on extracted files
...
fixes ansible/ansible#10934 which is really a corner case
2015-05-11 13:18:05 -04:00
Toshio Kuratomi
36891d8273
Merge pull request #1296 from sivel/py24-fixes
...
Fix up modules that have python24 syntax error
2015-05-11 09:06:51 -07:00
Matt Martz
7ca732830f
Python2.4 fixes
...
* Ignore accelerate.py
* Don't use a lambda or a ternary
2015-05-11 11:04:44 -05:00
Brian Coca
00ee4f8da9
Merge pull request #1299 from nathanielks/patch-1
...
Update set_fact.py
2015-05-11 12:02:45 -04:00
Nathaniel
5aae7f3e51
Update set_fact.py
...
Context: I recently discovered that when setting a fact, key=value pairs and complex arguments differ in how the fact is stored. For example, when attempting to use complex arguments using key=values, the result can be stored as a unicode string as opposed to an object/list/etc.
I'm hoping the above example update will better demonstrate to and instruct people to use complex arguments instead of key=value pairs in certain situations.
2015-05-09 15:51:17 -05:00
Toshio Kuratomi
aab13daa6a
Merge pull request #1293 from sivel/python24-compat-test
...
Add test validating if modules are python24 compatible
2015-05-08 13:03:58 -07:00
Brian Coca
18ccced5fe
Merge pull request #1274 from bennojoy/issue-122
...
fixes issue 122, where the module recreates the route table in each run
2015-05-08 15:50:37 -04:00
Brian Coca
bc22ee9069
Merge pull request #1015 from jml/ec2-eip
...
Make ec2_eip idempotent
2015-05-08 15:24:20 -04:00
Matt Martz
e12ca16399
Add compileall testing via travis to validate modules are python24 compatible
2015-05-08 13:42:06 -05:00
Toshio Kuratomi
8b4e201772
Expand tildes and vars in the config file path
2015-05-08 10:41:01 -07:00
Brian Coca
296691d34d
Merge pull request #1281 from ChrisLundquist/patch-1
...
[ec2_ami_find] fix ami_search doc copy pasta
2015-05-08 09:09:08 -04:00
Brian Coca
8ec2673431
Merge pull request #1282 from macbeth76/patch-1
...
Update user.py
2015-05-07 16:57:50 -04:00
macbeth76
bb2fc14865
Update user.py
...
M in date format is minutes. m is for months.
2015-05-07 16:55:28 -04:00
Chris Lundquist
4670e1285b
[ec2_ami_find] fix ami_search doc copy pasta
2015-05-07 11:51:11 -07:00
Toshio Kuratomi
7540cbb845
Explain why the apt module does not do implicit regex matches on package name since this is different than the apt-get command line tool.
...
Fixes #1258
2015-05-07 08:16:46 -07:00
Brian Coca
2729899390
Merge pull request #1278 from jmdh/apt_key_docs
...
apt_key documentation: add a note explaining the benefit of including 'id'
2015-05-07 10:53:17 -04:00
Dominic Hargreaves
d197f898a5
apt_key documentation: add a note explaining the benefit of including 'id'
2015-05-07 15:49:50 +01:00
Benno Joy
e2deee66d3
fixes issue 122, where the module recreates the route table in each run
2015-05-07 16:04:01 +05:30
Brian Coca
6a8df98710
Merge pull request #1265 from gimoh/docker-fix-get-deployed-no-name
...
Fix ``get_deployed_containers`` when no name specified
2015-05-06 10:11:18 -04:00
Toshio Kuratomi
a6c0cf0369
Merge pull request #1264 from rtnpro/fix_typo_in_docker_module
...
Fixed typo in cloud docker module.
2015-05-06 05:57:03 -07:00
gimoh
79510a826c
Fix `get_deployed_containers
` when no name specified
...
Previous fix missed one remaining instance of ``i``.
2015-05-06 13:20:36 +01:00
Ratnadeep Debnath
be66acb436
Fixed typo in cloud docker module.
2015-05-06 15:23:40 +05:30
Brian Coca
ec5cd89d7c
Revert "Add deprecated documentation for _quantum_subnet"
...
cause it was already added
This reverts commit 3fa32c4984
.
2015-05-05 17:14:04 -04:00
Toshio Kuratomi
1fa3efd7b4
Fix documentation
2015-05-05 13:58:41 -07:00
Toshio Kuratomi
73737b294e
Fix documentation formatting
2015-05-05 13:46:46 -07:00
Toshio Kuratomi
bb933e27e6
Merge pull request #304 from Jmainguy/yum_except_feature
...
Adds the exclude= option to the yum module. Works the same way --exclude...
2015-05-05 11:07:25 -07:00
Jonathan Mainguy
3e66e409d5
Adds the exclude= option to the yum module. Works the same way --exclude does when yum install or yum update
2015-05-05 14:00:49 -04:00
Toshio Kuratomi
3fa32c4984
Add deprecated documentation for _quantum_subnet
2015-05-05 10:50:24 -07:00
Brian Coca
a9781b3712
Merge pull request #1250 from afeinberg/patch-1
...
Fix a typo in create_instances
2015-05-05 10:40:07 -04:00
Brian Coca
f99bc6a17f
Merge pull request #1254 from samdoiron/devel
...
Fix Issue #1216 (ValueError with Amazon RDS)
2015-05-05 10:11:51 -04:00
Sam Doiron
de76c797ab
Fix Issue #1216 (ValueError with Amazon RDS)
...
Fix typo where wrong variable was used, causing ValueError.
2015-05-05 10:53:17 -03:00
Brian Coca
35703caf6f
Merge pull request #1101 from willthames/postgresql_reduce_alter_role
...
Update postgresql users only when necessary
2015-05-05 08:49:45 -04:00
Brian Coca
9d25d88b9a
Merge pull request #1187 from chrismeyersfsu/feature-azure_delete_disks
...
correctly delete disks associated with vms
2015-05-05 08:47:03 -04:00
Herby Gillot
6ce3ef36e3
Use existing ec2_eip address if already associated
...
If an EC2 instance is already associated with an EIP address, we use
that, rather than allocating a new EIP address and associating it with
that.
Fixes #35 .
2015-05-05 11:37:47 +01:00
Alex Feinberg
e749184bc7
Fix a typo in create_instances
...
Fix a typo in create_instances: use 'placement_group' instead of placement_group
when calling boto_siupports_param_in_spot_request().
2015-05-04 17:14:42 -07:00
Brian Coca
2dc0343d63
added deprecated doc entry
2015-05-04 19:42:26 -04:00
James Cammarata
c4f6e63117
Fix bug in service where upstart services incorrectly use init scripts
...
Fixes #1170
2015-05-04 14:03:05 -05:00
Toshio Kuratomi
f444e49dfa
Fix error when container has no names.
...
Rename loop variable from "i" to more informative "container"
Fixes #1188
2015-05-04 10:16:01 -07:00
Brian Coca
a6eafb87c8
minor doc fixes
2015-05-04 12:06:57 -04:00
Brian Coca
071201210a
Merge pull request #1055 from emonty/feature/os_server
...
Add OpenStack Server module
2015-05-04 11:59:08 -04:00
David Shrewsbury
28488f1b84
Update os_server for shade flavor API changes
...
Latest shade fixes the flavor API so that raw objects are not
returned.
2015-05-04 11:36:57 -04:00
Monty Taylor
3834680f43
Add OpenStack Server module
...
Also deprecated old nova_compute module
2015-05-04 11:36:57 -04:00
Brian Coca
0e4d1045af
Merge pull request #1249 from rhartkopf/ssh_args_fix
...
synchronize: don't add ssh_args to ssh_opts when false or null
2015-05-04 11:17:44 -04:00
Brian Coca
9a216915e9
doc fixes
2015-05-04 11:06:02 -04:00