Commit graph

6139 commits

Author SHA1 Message Date
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
~~~
2015-06-16 11:33:15 -04:00
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
}
~~~
2015-06-16 11:33:15 -04:00
Rene Moser
616a56f871 puppet: add --environment support 2015-06-16 11:33:15 -04:00
Rene Moser
9d4046f44b puppet: ensure puppet is in live mode per default
puppet may be configured to operate in `--noop` mode per default.

That is why we must pass a `--no-noop` to make sure, changes are going to be applied.
2015-06-16 11:33:15 -04:00
jonathan.lestrelin
653ce424e0 Add pear packaging module to manage PHP PEAR an PECL packages 2015-06-16 11:33:15 -04:00
Brian Coca
cc9d2ad03f minor docs update 2015-06-16 11:33:15 -04:00
Quentin Stafford-Fraser
e972346fae Webfaction will create a default database user when db is created. For symmetry and repeatability, delete it when db is deleted. Add missing param to documentation. 2015-06-16 11:33:14 -04:00
Sebastian Kornehl
fdaa4da447 docs: removed default when required is true 2015-06-16 11:33:14 -04:00
Roman Vyakhirev
5bfe8f2a44 bower module. Non-interactive mode and allow-root moved to _exec, they should affect all commands 2015-06-16 11:33:14 -04:00
Sebastian Kornehl
1291f9a25a Added datadog_monitor module 2015-06-16 11:33:14 -04:00
Etienne CARRIERE
1c6ae9333c Factor common functions for F5 modules 2015-06-16 11:33:14 -04:00
Roman Vyakhirev
4475676866 composer module. ignore_platform_reqs option added. 2015-06-16 11:33:14 -04:00
Brian Coca
861b4d0c19 corrected lvol docs version to 2.0 2015-06-16 11:33:14 -04:00
Sergei Antipov
35853a3d70 proxmox | changed https_verify_ssl to to validate_certs and added
forgotten return
2015-06-16 11:33:14 -04:00
Sergei Antipov
5f916ac4e3 proxmox_template | deleted state=list and changed default timeout to 30 2015-06-16 11:33:14 -04:00
Sergei Antipov
e1c8cdc39d proxmox_template | changed http_verify_ssl to validate_certs 2015-06-16 11:33:14 -04:00
Brian Coca
a38b8205d2 added version added to patch's bacukp 2015-06-16 11:33:14 -04:00
Brian Coca
6050cc8e5d push list nature of tags into spec to allow both for comma delimited strings and actual lists 2015-06-16 11:33:14 -04:00
Sergei Antipov
08a9096c75 proxmox_template | fixed problem with uploading 2015-06-16 11:33:14 -04:00
Sergei Antipov
078dc8b205 Added proxmox_template module 2015-06-16 11:33:13 -04:00
Quentin Stafford-Fraser
759a7d84dc Add GPL notices 2015-06-16 11:33:13 -04:00
Q
927d490f76 patch module: 'backup_copy' parameter renamed to 'backup' 2015-06-16 11:33:13 -04:00
Kevin Carter
391df0ffe0 Updates the doc information for the python2-lxc dep
The python2-lxc library has been uploaded to pypi as such this commit
updates the requirements and doc information for the module such that
it instructs the user to install the pip package "lxc-python2" while
also noting that the package could be gotten from source as well. In
the update comments have been added to the requirements list which
notes where the package should come from,

Closes-Bug: https://github.com/ansible/ansible-modules-extras/issues/550
2015-06-16 11:33:13 -04:00
Kevin Carter
37db619234 lxc_container: remove BabyJSON
Removed the usage of baby json. This is in response to the fact
that the baby json functionality was removed in Ansible 1.8

Ref: https://github.com/ansible/ansible-modules-extras/issues/430
2015-06-16 11:33:13 -04:00
Brian Coca
eec8dca006 added copyright/license info to modules I had missed 2015-06-16 11:33:13 -04:00
David Wittman
01551a8c15 [lvol] Add opts parameter
Adds the ability to set options to be passed to the lvcreate command
using the `opts` parameter.
2015-06-16 11:33:13 -04:00
Brian Coca
d5c581e9eb updated docs for 2.0 2015-06-16 11:33:13 -04:00
Brian Coca
04e43a9dcb added version added 2015-06-16 11:33:13 -04:00
Greg DeKoenigsberg
432477c14c Revert "Added eval for pasting tag lists" 2015-06-16 11:33:13 -04:00
Greg DeKoenigsberg
a77de166c4 Add new policy guidelines for Extras
More to do here, but this is a start.
2015-06-16 11:33:13 -04:00
fdupoux
1bc3e10e77 Devices in the current_devs list must also be converted to absolute device paths so comparison with dev_list works 2015-06-16 11:33:13 -04:00
Rene Moser
e1006eb907 cloudstack: add new module cs_project 2015-06-16 11:33:13 -04:00
Rene Moser
421b3ff24e cloudstack: fix doc for cs_instance, force is defaulted to false 2015-06-16 11:33:12 -04:00
Rene Moser
79a5ea2ca6 cloudstack: fix examples in cs_iso 2015-06-16 11:33:12 -04:00
Q
71066331f3 Update patch.py 2015-06-16 11:33:12 -04:00
Rene Moser
53130de662 cloudstack: add choices for api_http_method 2015-06-16 11:33:12 -04:00
Rene Moser
eb66f683f5 cloudstack: add new param api_timeout 2015-06-16 11:33:12 -04:00
mlamatr
80663e0fbe corrected typo in URL for consul.io 2015-06-16 11:33:12 -04:00
Rene Moser
01caf84227 cloudstack: update doc of cs_portforward, fixes typos. 2015-06-16 11:33:12 -04:00
Rene Moser
e143689d9c cloudstack: update doc in cs_instance 2015-06-16 11:33:12 -04:00
Rene Moser
a13a26aa2a cloudstack: add instance_name alias internal name to returns in cs_instance 2015-06-16 11:33:12 -04:00
Rene Moser
7442db3f41 cs_instance: improve hypervisor argument and return 2015-06-16 11:33:12 -04:00
Rene Moser
93a1542cc1 cloudstack: improve required params 2015-06-16 11:33:12 -04:00
Monty Taylor
ce93a91a59 Fix octal values for python 2.4 2015-06-16 11:33:12 -04:00
Monty Taylor
e7ed08f762 Add support for check mode 2015-06-16 11:33:12 -04:00
Monty Taylor
a1ecd60285 Fix some errors pointed out by travis 2015-06-16 11:33:11 -04:00
Monty Taylor
9d2d3f0299 Add module to run puppet
There is a growing pattern for using ansible to orchestrate runs of
existing puppet code. For instance, the OpenStack Infrastructure team
started using ansible for this very reason. It also turns out that
successfully running puppet and interpreting success or failure is
harder than you'd expect, thus warranting a module and not just a shell
command.

This is ported in from
http://git.openstack.org/cgit/openstack-infra/ansible-puppet
2015-06-16 11:33:11 -04:00
fdupoux
1f32287626 Removed conditional assignment of yesopt to make it work with python-2.4 (to pass the Travis-CI test) 2015-06-16 11:33:11 -04:00
Rene Moser
6f2b61d2d8 firewalld: remove BabyJSON
See https://github.com/ansible/ansible-modules-extras/issues/430
2015-06-16 11:33:11 -04:00
Christian Thiemann
b527380c6a Fix alternatives module in non-English locale
The alternatives module parses the output of update-alternatives, but the expected English phrases may not show up if the system locale is not English. Setting LC_ALL=C when invoking update-alternatives fixes this problem.
2015-06-16 11:33:11 -04:00