Commit Graph

6164 Commits (0ad12cdcf4e5d4ed90b506917ee5083b1910b0e2)
 

Author SHA1 Message Date
Gerrit Germis 0ad12cdcf4 specify int parameter types for wait_interval and wait_retries 10 years ago
Greg DeKoenigsberg 44eb758dc7 Merge pull request #623 from AdmiralNemo/portage-fixes
Portage fixes for check mode
10 years ago
Greg DeKoenigsberg de8ea8f451 Merge pull request #432 from eikef/devel
add zabbix proxy support to zabbix_host
10 years ago
Eike Frost 75e1e9fcda add zabbix proxy support to zabbix_host 10 years ago
Brian Coca 3f9e2fb4e6 Merge pull request #629 from bcoca/sensu_check_2.4
made sensu_check 2.4 friendly
10 years ago
Brian Coca 286bc3d9dc forgot finally 2.4 syntax 10 years ago
Brian Coca eeb9d34812 also fixed exceptions 10 years ago
Toshio Kuratomi dd6e8f354a Modify a few more modules to not conditionalize urllib(2) import. 10 years ago
Brian Coca 1659af1541 made sensu_check 2.4 friendly 10 years ago
Toshio Kuratomi 4b29146c4d be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
10 years ago
Brian Coca 8f31d84300 Merge pull request #203 from andsens/sensu-check
Add sensu_check module
10 years ago
Brian Coca 1604382538 monior docfixes
added extensino to vsphere_copy so it actually installs
10 years ago
Brian Coca 35a4e70dee minor fixes 10 years ago
Brian Coca d1b1b2b6f3 Merge pull request #626 from amir343/devel
Implementation of EC2 AMI copy between regions
10 years ago
Brian Coca be20038f7b Merge pull request #627 from resmo/feature/cs_facts
cloudstack: new module cs_facts
10 years ago
Greg DeKoenigsberg c8295f518f Merge pull request #628 from dagwieers/patch-1
Spurious newline could corrupt payload
10 years ago
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.
10 years ago
Rene Moser 35b6bc417d cloudstack: new module cs_facts 10 years ago
Anders Ingemann 3f3a73da37 Add sensu_check module 10 years ago
Amir Moulavi 628f2b98b6 Implementation of EC2 AMI copy between regions 10 years ago
Brian Coca e66e953f08 Merge pull request #410 from wimnat/feature/ec2_eni
Add ec2_eni module (aws network interfaces)
10 years ago
Greg DeKoenigsberg 352531930c Merge pull request #607 from wimnat/feature/ec2_vpc_igw
Feature/ec2 vpc igw
10 years ago
Greg DeKoenigsberg 0a22a3d708 Merge pull request #625 from willthames/aws_guidelines
Add GUIDELINES for AWS module development
10 years ago
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.
10 years ago
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>
10 years ago
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>
10 years ago
Greg DeKoenigsberg bd177bcb62 Merge pull request #622 from ggermis/devel
haproxy module wait
10 years ago
Gerrit Germis 5a1109229d added version_added: "2.0" to new parameters 10 years ago
Brian Coca 95434149d3 Merge pull request #199 from bkimble/devel
added hall.com notification module
10 years ago
Brian Coca 036a9ccda1 Merge pull request #28 from brian-brazil/dpkg_selections
Add dpkg_selections module
10 years ago
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 10 years ago
Brian Coca 9db032aa11 minor doc update 10 years ago
Brian Coca 8753b2cd20 minor docfixes 10 years ago
Brian Coca 4a2f93ca05 Merge pull request #621 from dagwieers/vsphere_copy
New module to copy (push) files to a vCenter datastore
10 years ago
Brian Coca c2b4542c3f Merge pull request #620 from dagwieers/fix-travisci-failure
Fix TravisCI failure for system/osx_defaults.py on python 2.4
10 years ago
Dag Wieers 685653b23b Another incompatibility with python 2.4 10 years ago
Dag Wieers f967aa376d Fix TravisCI failure on python 2.4 10 years ago
Dag Wieers 330e66327a New module to copy (push) files to a vCenter datastore 10 years ago
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.
10 years ago
Greg DeKoenigsberg 7108b77c17 Merge pull request #606 from cloudnull/lxc-restart-fix
Fix the lxc container restart state
10 years ago
Brian Coca 1015a2886f Merge pull request #64 from frenck/module-mac-defaults
Added module for managing Apple Mac OSX user defaults
10 years ago
Greg DeKoenigsberg 8186ccd659 Merge pull request #616 from gregdek/devel
Changes to author formatting, remove emails
10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Greg DeKoenigsberg 45e869dc6d Merge pull request #614 from gregdek/devel
Adding author info
10 years ago
Greg DeKoenigsberg 728f2f1bb8 Adding the list of valid module reviewers 10 years ago
Greg DeKoenigsberg dc519fb848 Add author data 10 years ago
Greg DeKoenigsberg d831c6a924 Adding author info 10 years ago
Greg DeKoenigsberg 87bc0ee39f Merge branch 'devel' of https://github.com/ansible/ansible-modules-extras into devel 10 years ago
Greg DeKoenigsberg 59c57ee798 Changing maintainer for this module 10 years ago
Rene Moser ad845a59b0 cloudstack: fix clean_up arg to be boolean in cs_network 10 years ago