Commit graph

1614 commits

Author SHA1 Message Date
Bernhard Weitzhofer
d66227d843 "nagios" module: fix NameError/'host' not defined
Add missing 'host' variable, which is read a few lines later on in some cases.
2013-03-17 11:31:13 +01:00
Andrew Dunham
b376717344 Add Homebrew module 2013-03-16 21:52:51 -04:00
lwade
797b0bf3c8 Basic groundwork for s3 module. 2013-03-16 11:18:43 +00:00
Andrew Dunham
3808981d21 Fix --include-dependencies parameter on RubyGems >= 2.0.0 2013-03-16 06:01:02 -04:00
Rob Parrott
a4810779ee modified ec2 module to use EC2 idempotency via client-token attribute. 2013-03-15 22:55:01 -04:00
Rob Parrott
52d0cb2001 added vagrant module 2013-03-15 22:51:21 -04:00
Michael DeHaan
7672d683e3 Merge pull request #2391 from bcoca/apt_lock_exception
now catches lock exceptions from apt and returns friendly message
2013-03-15 18:07:52 -07:00
David Hughes
566aea86b1 Run pip command from the system's temp directory 2013-03-15 15:05:21 -07:00
Jimmy Tang
fdeccd2d7b Added osrelease and osversion as well as changed the way sysctl is called on OSX 2013-03-15 15:58:45 +00:00
Lorin Hochstein
866a7254fb Document mysql_(user,db) login_unix_socket option
mysql_user and mysql_db both take a login_unix_socket option.

This patch adds docs that describe how to use it.
2013-03-15 11:43:32 -04:00
Lorin Hochstein
e048e47ad0 .my.cnf: default to login when no user specified
When using a .my.cnf file, when there is no user variable defined,
default to the login user.

This change has the mysql_user module behavior match the behavior
of the mysql command-line client.

Also adds an example .my.cnf to the docs.
2013-03-15 11:05:30 -04:00
Stephen Fromm
3d1b67d1b3 Add check mode to git module
Related to issue #2114.  This hooks in check_mode to git module.  This
will exit with changed=True at the following places:

* If the repo has not been cloned
* If the destination has local modifications, this will exit with
  changed=True.  This is because reset() will exit anyways if there are
  local mods and force is False.
* If the remote HEAD commit id is not the same as that of the local HEAD.
  This is determined by get_remote_head() that runs 'git ls-remote' to
  determine remote HEAD.

Lastly, if this is run with check_mode enabled, this will exit with
changed=False before fetch() is invoked so that no local mods are made.
2013-03-14 22:29:04 -07:00
Serge van Ginderachter
90e51b2a5e rename user option nonunique tot non_unique 2013-03-14 17:21:57 +01:00
Serge van Ginderachter
56592d70c9 Add nonunique option to user module, translating to the -o/--non-unique option to useradd and usermod. 2013-03-14 17:21:57 +01:00
Michael DeHaan
610043a2be Merge pull request #2396 from johanwiren/obsd_facts
Added OpenBSD facts
2013-03-14 08:26:05 -07:00
Michael DeHaan
8a78af274a Merge pull request #2393 from davehughes/pip-expand-virtualenv-path
pip module - expand user home directory variables in virtualenv parameter
2013-03-14 08:25:13 -07:00
Johan Wirén
fc46a58e8e Added OpenBSD facts 2013-03-14 13:04:49 +01:00
Daniel Hokka Zakrisson
9b0e0fa15f Restore force in copy since arguments are no longer clobbered
Fixes #2388.
2013-03-14 11:27:49 +01:00
Alexander Bulimov
19174311af now using 'type=' for module parameters, replaced lambda with list comprehensions, simplyfied extend/reduce part of module, renamed dev parameter to pvs 2013-03-14 13:32:16 +04:00
Jimmy Tang
f52673eebd Teach the macports module to activate/deactivate packages
Deactivating a package from macports does not remove the files, it
just unstages it from the runtime environment. Activating a package
re-enables it.
2013-03-14 08:14:57 +00:00
David Hughes
c75d5e18fd Expand any user home variable in pip module's virtualenv parameter 2013-03-13 20:58:04 -07:00
Michael DeHaan
0ca35d04a8 Let the pip module return output. 2013-03-13 22:25:58 -04:00
Brian Coca
2a47bb5b7a now actually import exception to be usable 2013-03-13 18:21:16 -04:00
Brian Coca
d3f6071d66 now catches lock exceptoins on apt and returns friendly message instead of
traceback

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-13 18:11:23 -04:00
Brian Coca
21e6e72250 added docs about in template overrides
Signed-off-by: Brian Coca <bcoca@tablethotels.com>
2013-03-13 15:58:08 -04:00
Michael DeHaan
fdee719d79 Temporarily disable force logic on copy module 2013-03-13 13:35:33 -04:00
Michael DeHaan
59bbde24aa Merge pull request #2376 from peterjanes/devel
Use login_host for import and dump operations
2013-03-12 12:40:34 -07:00
Patrik Lundin
4a3622200a Dont exit in FreeBSD/NetBSD subclass in check mode
* As the FIXMEs note: only exit if enable state is going to change.
* This is already handled in service_enable_rcconf() being called by both subclasses.
2013-03-12 20:25:25 +01:00
Peter Janes
accfff0c66 Use login_host for import and dump operations 2013-03-12 12:07:16 -04:00
Dag Wieers
d4bb57d42d Fix the documentation booleans so they use "yes" and "no"
Both modules seboolean and zfs have not been adapted since they defer from the default (either by having a 'null' or special state, or prefering "on"/"off" for state indication.
2013-03-12 13:25:59 +01:00
Michael DeHaan
84527b1d31 Add type casting to user/group modules, remove executable bit from other modules 2013-03-18 00:40:57 -04:00
Alexander Bulimov
b034b5e8cc various fixes in lvg module, added ability to reduce and extend VG, added Physical Extent parameter, added explicit creation of physical volumes 2013-03-12 14:06:39 +04:00
André Paramés
0417dc8418 Added Bazaar module, based on the Git module 2013-03-11 23:13:17 +00:00
Alexander Bulimov
12b10dabbc lvg module for managing LVM volume groups 2013-03-11 13:17:36 +04:00
Alexander Bulimov
de92d6840e lvol patch for Debian Squeeze 2013-03-11 12:20:01 +04:00
Michael DeHaan
e7232e6220 Merge pull request #2316 from dominis/devel
Citrix NetScaler module
2013-03-10 17:17:08 -07:00
Michael DeHaan
2a5c1e615c Merge pull request #2272 from skvidal/nagios_cmd
add (un)silence_nagios and command actions to the nagios module
2013-03-10 17:16:21 -07:00
Michael DeHaan
319c38deac Merge branch 'alpine' of git://github.com/fabaff/ansible into devel
Conflicts:
	library/setup
2013-03-17 23:39:33 -04:00
Michael DeHaan
54a2b25c58 Updated copy documentation. 2013-03-17 23:35:15 -04:00
Patrick Pelletier
e19878bc21 Add support to directly set content in copy module 2013-03-17 23:33:13 -04:00
Michael DeHaan
7bbbd091c2 Merge pull request #2294 from mmoya/bug-fixes
file module should check invalid arguments (fixes #2135)
2013-03-10 16:32:02 -07:00
Michael DeHaan
44b9bdff7c Update fetch documentation 2013-03-17 23:17:56 -04:00
Michael DeHaan
e51ee83ec7 Make URI module default to 30 seconds. 2013-03-17 23:16:45 -04:00
Michael DeHaan
02b1b4ff6e Merge pull request #2279 from dorfsmay/fetch-fail_on_missing
Added a fail_on_missing option to fetch.
2013-03-10 16:18:28 -07:00
Michael DeHaan
e5297678c5 Merge pull request #2273 from dorfsmay/pullreq-use_proxy
Added a use_proxy option to get_url.
2013-03-10 16:10:45 -07:00
Michael DeHaan
f9a309ee83 Merge pull request #2286 from gavares/url_timeout
Add socket timeout to uri module.
2013-03-10 15:37:32 -07:00
Michael DeHaan
fd24fe8b0b Merge pull request #2337 from dparalen/wait_fix
EC2 Wait fix
2013-03-10 15:28:34 -07:00
Michael DeHaan
dc2906f2d7 Merge pull request #2274 from jcftang/setup-osx-facts
Start of more OSX facts for setup
2013-03-10 15:26:41 -07:00
Michael DeHaan
8e1ad723fd Merge pull request #2334 from pieska/upstream
allow use of backrefs in lineinfile
2013-03-10 15:25:25 -07:00
Michael DeHaan
49a2d86d03 Merge pull request #2283 from eest/openbsd_pkg
Add openbsd_pkg: package management for OpenBSD.
2013-03-10 15:21:13 -07:00