Commit graph

6397 commits

Author SHA1 Message Date
Brian Coca
be20038f7b Merge pull request #627 from resmo/feature/cs_facts
cloudstack: new module cs_facts
2015-06-19 09:44:04 -04:00
Greg DeKoenigsberg
c8295f518f Merge pull request #628 from dagwieers/patch-1
Spurious newline could corrupt payload
2015-06-19 09:29:59 -04:00
Andrew Udvare
e203087aaa Fix comparison 2015-06-19 06:04:56 -07:00
Dag Wieers
d0cf9617a5 Spurious newline could corrupt payload
Due to a spurious newline we corrupted the payload. It depends on the order of the headers and if there were headers added by vSphere.

The Accept header was also not needed.
2015-06-19 13:30:29 +02:00
Rene Moser
35b6bc417d cloudstack: new module cs_facts 2015-06-19 11:55:05 +02:00
Anders Ingemann
3f3a73da37 Add sensu_check module 2015-06-19 09:58:14 +02:00
Amir Moulavi
628f2b98b6 Implementation of EC2 AMI copy between regions 2015-06-19 09:12:08 +02:00
Brian Coca
e66e953f08 Merge pull request #410 from wimnat/feature/ec2_eni
Add ec2_eni module (aws network interfaces)
2015-06-19 01:34:36 -04:00
Greg DeKoenigsberg
352531930c Merge pull request #607 from wimnat/feature/ec2_vpc_igw
Feature/ec2 vpc igw
2015-06-18 23:30:02 -04:00
Greg DeKoenigsberg
0a22a3d708 Merge pull request #625 from willthames/aws_guidelines
Add GUIDELINES for AWS module development
2015-06-18 22:44:43 -04:00
Will Thames
6b8c462d66 Add GUIDELINES for AWS module development
Starting point for a reference when doing pull request reviews.
If something doesn't meet the guidelines we can point people
at them. If something is bad but is not mentioned in the
guidelines, we should add it here.
2015-06-19 12:40:56 +10:00
Andrew Udvare
5e5eec1806 --usepkgonly does not imply --getbinpkg
Add usepkg option to allow conditional building from source if binary
packages are not found

5a6de937cb (commitcomment-11755140)
https://wiki.gentoo.org/wiki/Binary_package_guide#Using_binary_packages
2015-06-18 15:59:46 -07:00
Phil
623a29cc0e update to not auto-install PSCX
- will use built-in powershell method instead for .zip files
- added example for installing pscx as a pretask
2015-06-18 16:18:15 -05:00
Dustin C. Hatch
e3d608297d packaging/os/portage: Handle noreplace in check mode
The `--noreplace` argument to `emerge` is generally coupled with
`--newuse` or `--changed-use`, and can be used instruct Portage to
rebuild a package only if necessary. Simply checking to see if the
package is already installed using `equery` is not sufficient to
determine if any changes would be made, so that step is skipped when
the `noreplace` module argument is specified. The module then falls back
to parsing the output from `emerge` to determine if anything changed. In
check mode, `emerge` is called with `--pretend`, so it produces
different output, and the parsing fails to correctly infer that a change
would be made.

This commit adds another regular expression to check when running in
check mode that matches the pretend output from `emerge`.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2015-06-18 14:05:59 -05:00
Dustin C. Hatch
1b0676b559 packaging/os/portage: Improve check mode handling
When running in check mode, the *portage* module always reports that no
changes were made, even if the requested packages do not exist on the
system. This is because it was erroneously expecting `emerge --pretend`
to produce the same output as `emerge` by itself would, and attempts to
parse it. This is not correct, for several reasons. Most specifically,
the string for which it is searching does not exist in the pretend
output. Additionally, `emerge --pretend` always prints the requested
packages, whether they are already installed or not; in the former case,
it shows them as reinstalls.

This commit adjusts the behavior to rely on `equery` alone when running
in check mode. If `equery` reports at least one package is not
installed, then nothing else is done: the system will definitely be
changed.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2015-06-18 13:50:43 -05:00
Greg DeKoenigsberg
bd177bcb62 Merge pull request #622 from ggermis/devel
haproxy module wait
2015-06-18 09:17:29 -04:00
Gerrit Germis
5a1109229d added version_added: "2.0" to new parameters 2015-06-18 09:11:16 +02:00
Brian Coca
95434149d3 Merge pull request #199 from bkimble/devel
added hall.com notification module
2015-06-17 12:39:26 -04:00
Brian Coca
036a9ccda1 Merge pull request #28 from brian-brazil/dpkg_selections
Add dpkg_selections module
2015-06-17 11:44:29 -04:00
Gerrit Germis
656e1a6deb allow wait, wait_retries and wait_interval parameters for haproxy module. This allows the haproxy to wait for status "UP" when state=enabled and status "MAINT" when state=disabled 2015-06-17 17:29:38 +02:00
Brian Coca
9db032aa11 minor doc update 2015-06-17 09:42:18 -04:00
Brian Coca
8753b2cd20 minor docfixes 2015-06-17 09:39:57 -04:00
Brian Coca
4a2f93ca05 Merge pull request #621 from dagwieers/vsphere_copy
New module to copy (push) files to a vCenter datastore
2015-06-17 09:34:01 -04:00
Brian Coca
c2b4542c3f Merge pull request #620 from dagwieers/fix-travisci-failure
Fix TravisCI failure for system/osx_defaults.py on python 2.4
2015-06-17 09:31:35 -04:00
Dag Wieers
685653b23b Another incompatibility with python 2.4 2015-06-17 15:22:10 +02:00
Dag Wieers
f967aa376d Fix TravisCI failure on python 2.4 2015-06-17 15:07:18 +02:00
Dag Wieers
330e66327a New module to copy (push) files to a vCenter datastore 2015-06-17 14:53:17 +02:00
Brian Brazil
caed7573d5 Add dpkg_selections module, that works with dpkg --get-selections and --set-selections.
This is mainly useful for setting packages to 'hold' to prevent them
from being automatically upgraded.
2015-06-17 11:07:09 +01:00
Greg DeKoenigsberg
7108b77c17 Merge pull request #606 from cloudnull/lxc-restart-fix
Fix the lxc container restart state
2015-06-16 23:49:55 -04:00
Brian Coca
1015a2886f Merge pull request #64 from frenck/module-mac-defaults
Added module for managing Apple Mac OSX user defaults
2015-06-16 19:12:36 -04:00
Greg DeKoenigsberg
8186ccd659 Merge pull request #616 from gregdek/devel
Changes to author formatting, remove emails
2015-06-16 14:43:15 -04:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Greg DeKoenigsberg
45e869dc6d Merge pull request #614 from gregdek/devel
Adding author info
2015-06-16 13:04:11 -04:00
Greg DeKoenigsberg
728f2f1bb8 Adding the list of valid module reviewers 2015-06-16 12:55:51 -04:00
Greg DeKoenigsberg
dc519fb848 Add author data 2015-06-16 12:30:47 -04:00
Greg DeKoenigsberg
d831c6a924 Adding author info 2015-06-16 11:41:31 -04:00
Greg DeKoenigsberg
87bc0ee39f Merge branch 'devel' of https://github.com/ansible/ansible-modules-extras into devel 2015-06-16 11:33:34 -04:00
Greg DeKoenigsberg
59c57ee798 Changing maintainer for this module 2015-06-16 11:33:17 -04:00
Rene Moser
ad845a59b0 cloudstack: fix clean_up arg to be boolean in cs_network 2015-06-16 11:33:17 -04:00
Rene Moser
68dc905b5f cloudstack: add new module cs_template 2015-06-16 11:33:17 -04:00
Brian Coca
0c6e5b9eb4 fixed doc issues 2015-06-16 11:33:17 -04:00
Alex Lo
90b6f0fe68 Error message typo 2015-06-16 11:33:16 -04:00
Alex Lo
59c3913e0b Fix boto library checking 2015-06-16 11:33:16 -04:00
Alex Lo
a86c8ab025 There is no absent, only disabled 2015-06-16 11:33:16 -04:00
Alex Lo
ea0f0ec7d3 remove extraneous imports 2015-06-16 11:33:16 -04:00
Matt Martz
ae75c26f87 Remove the executable option as it's redundant 2015-06-16 11:33:16 -04:00
Matt Martz
51cf9a029a Add new module 'expect' 2015-06-16 11:33:16 -04:00
Rene Moser
c842c71708 cloudstack: add new module cs_network 2015-06-16 11:33:16 -04:00
Brian Coca
0d7332d550 minor docfix 2015-06-16 11:33:16 -04:00
Rene Moser
f33bbe6e49 puppet: update author to new format 2015-06-16 11:33:16 -04:00