Commit Graph

6329 Commits (5f5ae26cc1d95ddb10158834cfc44d580d52f878)
 

Author SHA1 Message Date
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
10 years ago
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
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
Rene Moser 68dc905b5f cloudstack: add new module cs_template 10 years ago
Brian Coca 0c6e5b9eb4 fixed doc issues 10 years ago
Alex Lo 90b6f0fe68 Error message typo 10 years ago
Alex Lo 59c3913e0b Fix boto library checking 10 years ago
Alex Lo a86c8ab025 There is no absent, only disabled 10 years ago
Alex Lo ea0f0ec7d3 remove extraneous imports 10 years ago
Matt Martz ae75c26f87 Remove the executable option as it's redundant 10 years ago
Matt Martz 51cf9a029a Add new module 'expect' 10 years ago
Rene Moser c842c71708 cloudstack: add new module cs_network 10 years ago
Brian Coca 0d7332d550 minor docfix 10 years ago
Rene Moser f33bbe6e49 puppet: update author to new format 10 years ago
Greg DeKoenigsberg 98abb6d2c9 Adding author's github id 10 years ago
David Siefert 3bd19b8ea0 Adding support for setting the topic of a channel 10 years ago
Jhonny Everson 4b625bab34 Fixes the bug where it was using only the keys to determine whether a change was made, i.e. values changes for existing keys was reported incorrectly. 10 years ago
Rene Moser ed0395e2cc cloudstack: remove listall in cs_project
listall in cs_project can return the wrong project for root admins, because project name are not unique in separate accounts.
10 years ago
Rene Moser 1d49d4af09 cloudstack: fix project name must not be case sensitiv 10 years ago
Jhonny Everson d722d6de97 Adds handler for error responses 10 years ago
jonathan.lestrelin 2e6a16fbc7 Fix unused import and variable and correct documentation 10 years ago
Brian Coca 16851baaf7 added missing options: 10 years ago
Pepe Barbe b5d22eb1ec Refactor win_chocolatey module
* Refactor code to be more robust. Run main logic inside a try {} catch {}
  block. If there is any error, bail out and log all the command output
  automatically.
* Rely on error code generated by chocolatey instead of scraping text
  output to determine success/failure.
* Add support for unattended installs: (`-y` flag is a requirement by
  chocolatey)
* Before (un)installing, check existence of files.
* Use functions to abstract logic
* The great rewrite of 0.9.9, the `choco` interface has changed, check
  if chocolatey is installed and an older version. If so upgrade to
  latest.
* Allow upgrading packages that are already installed
* Use verbose logging for chocolate actions
* Adding functionality to specify a source for a chocolatey repository.
  (@smadam813)
* Removing pre-determined sources and adding specified source url in
  it's place. (@smadam813)

Contains contributions from:
*  Adam Keech  <akeech@chathamfinancial.com> (@smadam813)
10 years ago
Rene Moser e633d9946f puppet: make arg puppetmaster optional
puppetmaster was used to determine if `agent` or `apply` should be used. But puppetmaster is not required by puppet per default. Puppet may have a config or could find out by itself (...) where the puppet master is.

It changed the code so we only use `apply` if a manifest was passed, otherwise we use `agent`.

This also fixes the example, which did not work the way without this change.

~~~
# Run puppet agent and fail if anything goes wrong
- puppet
~~~
10 years ago
Rene Moser c277946fb3 puppet: fix missing space between command and arg
Fixes:
~~~
{
    "cmd": "/usr/bin/puppetconfig print agent_disabled_lockfile",
    "failed": true,
    "msg": "[Errno 2] No such file or directory",
    "rc": 2
}
~~~
10 years ago