Commit graph

5796 commits

Author SHA1 Message Date
Patrik Lundin
af52cd6ec1 openbsd_pkg: sync package_latest().
This diff syncs package_latest() with the changes to package_present().
I have not managed to figure out how to handle the cornercases where
stderr is set but the command has not failed, so leave a FIXME blob for
other adventurers.
2013-07-10 21:06:35 +02:00
Patrik Lundin
0e4e6e8a84 openbsd_pkg: Handle another pkg_add gotcha
* Add '-m' to pkg_add incovation to get access to the "packagename-1.0: ok"
  message.
* Watch for that message if we are about to fail because of stderr in
  package_present().
2013-07-10 18:19:01 +02:00
Patrik Lundin
a67ea75dec 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
Michael DeHaan
cff4ab511c Merge pull request #3434 from mspaulding06/git_submodule_update
Fix git submodule update when version specified
2013-07-03 17:41:40 -07:00
Matt Spaulding
871f781ec7 Fix git submodule update when version specified 2013-07-03 17:19:14 -07:00
Michael DeHaan
d96cedcad1 Example config file should use correct config setting. 2013-07-03 16:55:10 -04:00
Michael DeHaan
9db4f7a9a6 Makes host key checking the default behavior but can be disabled in ansible.cfg or by environment variable. 2013-07-03 16:47:20 -04:00
Michael DeHaan
4407ca8031 Merge pull request #3427 from insom/issue3409
Make the CPU facts Hyperthreading aware
2013-07-03 08:40:58 -07:00
Aaron Brady
efc4bc10d4 Make the CPU facts Hyperthreading aware 2013-07-03 16:25:35 +01:00
Michael DeHaan
f8396622fa Merge pull request #3418 from stoned/filter-bool
Add Jinja2 filter |bool : return boolean interpretation of the value
2013-07-03 05:01:29 -07:00
Michael DeHaan
2f4c930d35 Merge pull request #3423 from arsatiki/devel
Fix service enable on FreeBSD
2013-07-03 05:00:59 -07:00
Antti Rasinen
93fc3391fe 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
Stoned Elipot
0b3483cf03 Add Jinja2 filter |bool : return boolean interpretation of the value
'yes', 'on', '1', 'true', insensitively, and 1 are true,
 everything else is false
2013-07-03 02:13:19 +02:00
Michael DeHaan
25aaee4c38 Merge pull request #3394 from jpmens/docs3
broken docs in files/file module!
2013-07-01 07:26:31 -07:00
Jan-Piet Mens
f77c0a44f9 broken docs in files/file module!
remove obsolete examples: key
2013-07-01 12:18:07 +02:00
Michael DeHaan
955611bda8 Fixes #3294 2013-06-30 19:59:48 -04:00
Michael DeHaan
1b8ebfb224 Changelog updates 2013-06-30 19:55:00 -04:00
Michael DeHaan
195aa65969 Changelog update. 2013-06-30 19:51:31 -04:00
Michael DeHaan
6d9949698b Merge pull request #3292 from sfromm/git-submodule
Add submodule support to git module
2013-06-30 16:46:19 -07:00
Michael DeHaan
f3dc5707a8 Merge pull request #3282 from jlaska/devel
Reference ansible_lsb.major_release, not ansible_lsb.major_version
2013-06-30 16:43:30 -07:00
Michael DeHaan
6ba72854ee Merge pull request #3296 from ninetythirty/devel
Added flexible filename handling for main files
2013-06-30 16:42:57 -07:00
Michael DeHaan
fafb3c10a5 Merge pull request #3293 from jarv/devel
Adds termination support to the ec2 module
2013-06-30 16:40:51 -07:00
Michael DeHaan
506178542d Merge pull request #3303 from markmandel/feature/sudo_pass
Don't turn on sudo for all tasks when setting the sudo_user or ask_sudo_pass
2013-06-30 16:35:20 -07:00
Michael DeHaan
c2988dfdb0 Merge branch 'option-updates' of git://github.com/jlund/ansible into devel
Conflicts:
	bin/ansible-pull
2013-06-30 19:31:37 -04:00
Michael DeHaan
c9b6f0d0f2 Merge branch 'files_force' of git://github.com/rhaido/ansible into devel 2013-06-30 19:24:37 -04:00
Michael DeHaan
be5386f945 Merge remote branch 'origin' into devel 2013-06-30 19:24:24 -04:00
Michael DeHaan
8b592c9d4b Add some whitespace to script 2013-06-30 19:21:28 -04:00
Michael DeHaan
8f5c9aec47 Merge branch 'env-setup-shell-tweaks' of git://github.com/madduck/ansible into bash_hacking
Conflicts:
	hacking/env-setup
2013-06-30 19:20:27 -04:00
Michael DeHaan
2bbad5dae3 Merge pull request #3275 from madduck/implicit-negations
Enable negated patterns
2013-06-30 16:12:37 -07:00
Michael DeHaan
15bf8a8398 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
39105dc853 Fix RST formatting in documentation (underline too short) 2013-06-30 19:01:06 -04:00
Michael DeHaan
7821473710 Fixup documentation YAML 2013-06-30 19:00:43 -04:00
Michael DeHaan
681696846a Styling: semicolon 2013-06-30 18:56:03 -04:00
Michael DeHaan
ecc2b6e742 Styling: deprecation 2013-06-30 18:55:45 -04:00
Michael DeHaan
2e63faf257 Styling: deprecation 2013-06-30 18:55:03 -04:00
Michael DeHaan
257d827c9e Styling: misc pep8 2013-06-30 18:54:32 -04:00
Michael DeHaan
bc7de7bf3f Styling: indentation 2013-06-30 18:53:55 -04:00
Michael DeHaan
0e51a1c0ea Styling: semicolon 2013-06-30 18:53:22 -04:00
Michael DeHaan
39834d854c Styling: trailing spaces 2013-06-30 18:52:57 -04:00
Michael DeHaan
fc8ffc1864 Styling: blank lines 2013-06-30 18:52:33 -04:00
Michael DeHaan
c7eb68e043 Styling: deprecation 2013-06-30 18:52:17 -04:00
Michael DeHaan
4827d1451e pep8: deprecation 2013-06-30 18:51:47 -04:00
Michael DeHaan
899ea4de82 Styling: indentation 2013-06-30 18:51:11 -04:00
Michael DeHaan
0b251d840b Styling: spacing 2013-06-30 18:51:00 -04:00
Michael DeHaan
ea2a665981 Styling: misc pep8 2013-06-30 18:50:40 -04:00
Michael DeHaan
f2fc185651 Styling: indentation 2013-06-30 18:49:49 -04:00
Michael DeHaan
82d51e6354 Semicolons must die 2013-06-30 18:49:17 -04:00
Michael DeHaan
75cadeebcb update changelog 2013-06-30 18:46:23 -04:00
Michael DeHaan
6dd93fa964 Some minor doc tweaks 2013-06-30 18:32:49 -04:00
Michael DeHaan
ee4d9b1516 Merge branch 'devel' of git://github.com/shirou/ansible into devel 2013-06-30 18:28:35 -04:00