Commit graph

6496 commits

Author SHA1 Message Date
Benno Joy
4692df1e3c Merge pull request #1546 from vtsingaras/vsphere_guest_reconfig_nocpusmb
Properly check if vm_hardware contains keys
2015-06-18 16:58:36 +05:30
Vyronas Tsingaras
5e72c5ad36
Properly check if vm_hardware contains keys
This commit fixes #1475

Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
2015-06-18 14:23:43 +03:00
Vyronas Tsingaras
f4a86aab7f
Use either esxi:dc,host OR cluster,resource_pool
vsphere_guest now can deploy a template using a datacenter and hostname
as the target, instead of requiring a cluster and resource_pool.

This commit fixes #951.

Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
2015-06-18 13:55:54 +03:00
Benno Joy
b8f97095b4 Merge pull request #1534 from philipkirkland/devel
adding 'encrypted' option into volume dict in ec2 module
2015-06-18 10:23:21 +05:30
Brian Coca
19f6099777 minor doc fixes 2015-06-17 12:39:14 -04:00
Brian Coca
0fda4a2a30 Merge pull request #1541 from robinro/docker-docu-port
add comment: ports need to be exposed.
2015-06-17 12:18:40 -04:00
Robin Roth
64fe01178f add comment: ports need to be exposed.
port mapping with this module only works for ports that are exposed either in the Dockerfile or via an additional arguments. This is different from the command line docker client, that is willing to also map ports that are not exposed.

This comments makes the behaviour more obvious.
2015-06-17 18:01:35 +02:00
Monty Taylor
d8c51a67f3 Actually use changed variable 2015-06-17 08:47:14 -04:00
Monty Taylor
1a11f07d29 Return the secgroup for all present states 2015-06-17 08:02:34 -04:00
Monty Taylor
5609d1dc5a Return resource objects from OpenStack modules
It's not uncommon for people to want to do additional things after
creating a module. Also, add a note about it to the dev notes.
2015-06-17 05:24:08 -04:00
Monty Taylor
ef22008cac Return secgroup, not just id 2015-06-17 04:25:55 -04:00
Philip Kirkland
274abb96b1 adding 'encrypted' option into volume dict so ec2 module can easily include encrypted volumes 2015-06-17 14:33:37 +10:00
Benno Joy
351fca028f Merge pull request #1202 from nitzmahone/ec2_state_validation
Added choice validation for EC2 state arg
2015-06-17 07:54:13 +05:30
Brian Coca
898e338318 minor doc fixes 2015-06-16 18:56:24 -04:00
Brian Coca
d393df4bce Merge pull request #1053 from emonty/feature/os_security_group
Add OpenStack Security Group module
2015-06-16 18:19:53 -04:00
Brian Coca
7adc911372 Merge pull request #1047 from emonty/feature/os_object
Add OpenStack Object module
2015-06-16 18:18:14 -04:00
Brian Coca
0367a923c7 Merge pull request #1044 from emonty/feature/os_ironic_node
Add Ironic Node module
2015-06-16 18:17:12 -04:00
Brian Coca
74b7a72c3f Merge pull request #1043 from emonty/feature/os_ironic
Add Ironic module
2015-06-16 18:16:21 -04:00
nitzmahone
fd7bbc9eba Added choice validation for state arg
fixes traceback on invalid state arg
2015-06-16 13:42:44 -07:00
Toshio Kuratomi
86c30e68a1 Restore setting cachedir when non-root but don't take a useless cachedir parameter to the function
* Revert "Remove unused code"
  This reverts commit bcfba0c050.
* Re-add the changes to remove cachedir as a parameter
2015-06-16 13:10:17 -07:00
Greg DeKoenigsberg
de5d501741 Merge pull request #1528 from gregdek/devel
Updated author data for modules
2015-06-16 11:34:32 -04:00
Greg DeKoenigsberg
92fe35ca7d Updated author data for modules 2015-06-16 11:26:33 -04:00
Toshio Kuratomi
7c6c518003 Fix bugs found by @kustodian 2015-06-16 06:28:46 -07:00
Benno Joy
8a998ae76f Merge pull request #1465 from hkariti/ec2_vol_delete_race_condition
ec2_vol: fix race condition when deleting a volume
2015-06-16 10:52:42 +05:30
Benno Joy
ef3dab5833 Merge pull request #1526 from UnderGreen/mysql_user_hide_password
mysql_user | Hide password
2015-06-16 09:48:00 +05:30
Sergei Antipov
5465fb8d4f mysql_user | Hide password 2015-06-16 10:08:06 +06:00
Greg DeKoenigsberg
3405f69281 Merge pull request #1524 from gregdek/devel
Proper author info for all remaining modules
2015-06-15 16:02:39 -04:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
Greg DeKoenigsberg
5ef1dc746d Merge pull request #1523 from gregdek/devel
Updating cloud modules with proper github author information
2015-06-15 14:45:22 -04:00
Greg DeKoenigsberg
28a869a030 Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
Toshio Kuratomi
08c17814fb Fix incorrect line breaking 2015-06-15 10:46:59 -07:00
Toshio Kuratomi
ef7a75938a Further optimizations pointed out by @kustodian in #1516
* Only install yum-utils if needed (b/c we're going to use repoquery)
* Add a warning message explaining that why slower repoquery was used
  rather than yum API.
2015-06-15 09:51:15 -07:00
Brian Coca
05a2ef106f Merge pull request #326 from preo/ec2-eip-refactor
Refactor and improve the EC2 Elastic IP module.
2015-06-15 10:05:28 -04:00
Brian Coca
1d7e80499b Merge pull request #324 from preo/ec2-vpc-sg-param-check
Validate Security Group rule parameter names for ec2_group module.
2015-06-15 09:45:17 -04:00
Brian Coca
400f8d9350 Merge pull request #1519 from kmadac/devel
Error handling in supervisorctl module.
2015-06-15 09:33:30 -04:00
Brian Coca
b69fb1ac3a Merge pull request #1518 from emonty/openstack-module-docs
Add developer docs for the OpenStack modules
2015-06-15 09:11:50 -04:00
Benno Joy
db29380779 Merge pull request #1330 from wtcross/feat-s3-get-object-version
Get specific object version with S3 module.
2015-06-15 18:12:37 +05:30
Tyler Cross
de617bb3ae Get specific object version with S3 module.
- allow specifying version for mode=get and mode=getstr
- when version specified doesn't exist give an error message that indicates so
2015-06-15 07:43:29 -04:00
Robert Estelle
942f0ce96c Fix missing instance_id param in ec2_eip. 2015-06-14 16:11:33 -04:00
Robert Estelle
063d3d97c6 Remove unnecessary wait_timeout parameter. 2015-06-14 16:11:33 -04:00
Robert Estelle
c36e8947bc Refactoring of ec2_eip module. 2015-06-14 16:11:28 -04:00
Robert Estelle
17c1fa0872 ec2_eip - PEP8 and minor style cleanups. 2015-06-14 16:01:49 -04:00
Robert Estelle
9b7de40922 EC2 Security Group - Validate parameters. 2015-06-14 15:35:41 -04:00
Kamil Madac
b1160ade9a Better error handling in supervisorctl module.
If execution of supervisorctl was not successful (exit code > 0),
module silently supress this error and returns changed = false,
which turns to OK task state.
This is very confusing, when supervisorctl needs authentication,
and credentials are not specified in module or are incorrect,
services are not restarted/started/stopped without raising an error.
2015-06-14 19:48:00 +02:00
Julia Kreger
47113727ee Updating os_ironic_node module
Updating the os_ironic_node module to the most recent version
including support for power and maintenance states.
2015-06-14 13:03:42 +03:00
Toshio Kuratomi
9c88f91092 Yum API is faster than calling out to repoquery. Looking through the
commit logs it looks like we weren't previously doing that because of
commit 14479e6adc

The message there is that Yum API prints an error message if the
rhn-plugin is in use and no rhn-certificate is available.  So instead of
using repoquery in preference always here we use repoquery in preference
if the rhn-plugin is enabled.
2015-06-13 17:08:32 -07:00
Toshio Kuratomi
e286d1cb9a Merge pull request #1501 from EdTorbett/devel
Execute yum once for all supplied packages
2015-06-13 06:50:05 -07:00
Brian Coca
acfa1b4c39 Merge pull request #1464 from qrtt1/devel
Prevent s3 module getting the memory-error from uploading or downloading a large file
2015-06-12 13:53:50 -04:00
Edward Torbett
bcbf8c5556 Renamed previous pkgs variable to installed_pkgs as spotted by @strahinja 2015-06-12 18:06:25 +01:00
Brian Coca
7f12130d7a fixed version added 2015-06-12 10:39:47 -04:00