Commit graph

2207 commits

Author SHA1 Message Date
Patrik Lundin
72d73bcc70 openbsd_pkg: handle pkg_add quirks better.
This fixes a problem when trying to install a package with a specific version
number from a local directory and the local directory is checked after a remote
repository:

Error from http://ftp.eu.openbsd.org/pub/OpenBSD/[...]/packagename-1.0.tgz
ftp: Error retrieving file: 404 Not Found
packagename-1.0: ok
2013-07-09 20:56:22 +02:00
Frank Shearar
7f27a6181b Minor typo 2013-07-09 17:33:30 +01:00
Frank Shearar
9cc75f1f54 Let someone specify a path to a Rabbit that's not installed in the usual place. 2013-07-09 17:33:14 +01:00
Felix Stuermer
ed7b073550 Use the force=yes option for apt upgrade actions 2013-07-09 10:57:19 +02:00
Patrick Callahan
f37becb94a Bug fixes and enhancements.
Bugs:
(1) no longer allow empty jobs
(2) strip the header added by crontab package used in openSuSE and SuSE
(3) try not to leak temp files when things go wrong
(4) issue returning job names under certain conditions

Enhancements:
(1) Allow all special times not just reboot.
(2) Fail earlier by performing more input validation
(3) Add feature to allow removing cron file under /etc/cron.d

ToDo:
(1) Validate times (minute, hour, ...)
(2) Strip white space from fields such as name and job such that name=foo equals name=' foo'.
(3) More testing
2013-07-09 03:21:40 +00:00
Jesse Keating
64fb4f4c93 Update fail docs for new syntax
Use when instead of only_if
Use new variable style
2013-07-08 14:22:05 -07:00
Brian Coca
e0e50b5936 fixed check mode
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-08 15:41:39 -04:00
Evan Duffield
c9cd296a09 added note about AMI security 2013-07-08 10:24:22 -07:00
Evan Duffield
56471c52a1 Merge branch 'devel' of https://github.com/evan82/ansible into devel 2013-07-08 09:26:04 -07:00
Evan Duffield
dcc850dccf added region to spec 2013-07-08 09:24:18 -07:00
Casper Langemeijer
8727f0ce11 Only append non_unique parameter if a uid is provided as well 2013-07-08 11:46:38 +02:00
Cristobal Rosa
8304d5d060 Remove unnecesary call 2013-07-06 22:12:30 +02:00
James Martin
79a00eca47 Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is inlined, misc other style improvements. 2013-07-05 13:22:44 -04:00
Michael DeHaan
090b64f828 Revert "ini_file: add support for lists of options/values"
Breaks "," values in INI files

This reverts commit af051d6f77.
2013-07-05 12:04:07 -04:00
Cristobal Rosa
d2c7f30048 Fixed monit module. Ignore uppercase letters 2013-07-05 05:49:07 +02:00
Seth Vidal
537166b1ea - optimize for the extremely common case of people specifying pkg names which are, ultimately, already installed
on a system here time went from  16s for a series of pkgs to 3s to just
  check that they were installed.
2013-07-04 17:35:34 -04:00
Evan Wies
80afcea54e supervisorctl: add command-line options as module parameters
Adds more parameters which may be passed to supervisorctl:  config,
serverurl, username, password

Also refactored the various `module.run_command(build_a_string)` calls
into a single `run_supervisorctl` function.
2013-07-04 12:23:16 -04:00
lwade
99ac050a43 Rewritten s3 module to allow for additional modes of operation. 2013-07-04 15:55:06 +01:00
Matt Spaulding
3e631c1129 Fix git submodule update when version specified 2013-07-03 17:19:14 -07:00
Joshua Lund
bcfdc4c534 Fix some minor spelling mistakes in the hg module documentation 2013-07-03 13:23:08 -06:00
Jan-Piet Mens
494d784e91 files/stat: add pw_name and md5 sum to stat, and add meaningful? example
remove unnecessary import,
  md5 sum on regular files only
2013-07-03 21:07:45 +02:00
Evan
eaa9233cc8 Getting timeout errors this morning as AMIs are taking a bit longer to create, so I changed to timeout to 15 minutes 2013-07-03 11:10:39 -07:00
Evan
200f69f9d5 fixed spelling errors, unused variables and unused import 2013-07-03 10:35:32 -07:00
Aaron Brady
34617476d0 Make the CPU facts Hyperthreading aware 2013-07-03 16:25:35 +01:00
trbs
0d8da6eeb0 sleep option for service module which adds a pauze between stopping and starting a service using state=restarted. This helps for bad scripts that exist immediatly after signaling a process to stop. 2013-07-03 17:08:07 +02:00
Antti Rasinen
c2a4645349 Fix service enable on FreeBSD
Some services have a knob (i.e. rc.conf setting) whose name
differs from that of the script. For example, lockd process
is controlled with a script called lockd, but the rc.conf
value is rpc_lockd_enable.

Fixes issue #3382.
2013-07-03 14:52:23 +03:00
Evan Duffield
dca20ca508 Added module for baking EC2 AMIs 2013-07-02 11:24:40 -07:00
Curtis
8e9d610b5a as per mpdehaan, change string formatting to something that will work with python 2.4 2013-07-02 09:41:11 -06:00
Ben Podoll
5157fd3ec7 fixing small mis-spelling 2013-07-01 21:33:25 -05:00
Dmitry Kolobaev
796e68d15a Update gem
I've added ability to install gems in system-wide manner with --no-user-install options
2013-07-01 06:20:46 -07:00
Andrew de Quincey
28ec499f2a Check if mysql allows login as root/nopassword before trying supplied credentials. 2013-07-01 11:56:04 +01:00
Jan-Piet Mens
e788a5d930 broken docs in files/file module!
remove obsolete examples: key
2013-07-01 12:18:07 +02:00
Brian Coca
b494d6d2ae updated module docs to reflect 'correct' on_create vs on_creation
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-30 20:32:05 -04:00
Michael DeHaan
ce833be30f Merge pull request #3292 from sfromm/git-submodule
Add submodule support to git module
2013-06-30 16:46:19 -07:00
Michael DeHaan
24bacabd6a Merge pull request #3293 from jarv/devel
Adds termination support to the ec2 module
2013-06-30 16:40:51 -07:00
Michael DeHaan
51a7086c95 Merge branch 'files_force' of git://github.com/rhaido/ansible into devel 2013-06-30 19:24:37 -04:00
Michael DeHaan
8d23df3576 Merge pull request #3315 from madduck/fix-service-updatercd-changed
Let update-rc.d set changed flag properly
2013-06-30 16:09:39 -07:00
Michael DeHaan
691873ddc1 Fixup documentation YAML 2013-06-30 19:00:43 -04:00
Michael DeHaan
da0e718698 Styling: semicolon 2013-06-30 18:56:03 -04:00
Michael DeHaan
ca2c28413a Styling: deprecation 2013-06-30 18:55:45 -04:00
Michael DeHaan
9f6a9def19 Styling: deprecation 2013-06-30 18:55:03 -04:00
Michael DeHaan
7dd8c2dda4 Styling: misc pep8 2013-06-30 18:54:32 -04:00
Michael DeHaan
7c4688c3ef Styling: indentation 2013-06-30 18:53:55 -04:00
Michael DeHaan
7705937621 Styling: semicolon 2013-06-30 18:53:22 -04:00
Michael DeHaan
1919d02e7d Styling: trailing spaces 2013-06-30 18:52:57 -04:00
Michael DeHaan
936ad65726 Styling: blank lines 2013-06-30 18:52:33 -04:00
Michael DeHaan
405fdf9206 Styling: deprecation 2013-06-30 18:52:17 -04:00
Michael DeHaan
e0877fa085 pep8: deprecation 2013-06-30 18:51:47 -04:00
Michael DeHaan
90c1701f1c Styling: indentation 2013-06-30 18:51:11 -04:00
Michael DeHaan
2f5ad8c5d6 Styling: spacing 2013-06-30 18:51:00 -04:00