Commit graph

19 commits

Author SHA1 Message Date
Cédric RICARD
556c780ac9 Fixed test on 'cached' parameter.
'cached' parameter is boolean, not string
2014-04-15 16:41:27 +02:00
James Tanner
e4d7ffc47c Fix version added for annotation in pkgng 2014-04-08 10:28:01 -04:00
Fabian Freyer
a061440828 Fixed bug that occurred when pkgsite not specified 2014-03-18 21:55:05 +01:00
Fabian Freyer
2c0bb28f42 Added support for package annotations. 2014-03-11 20:24:32 +01:00
Fabian Freyer
f3abd5b89b Changed old variable names that referred to pkgin. 2014-03-11 18:03:14 +01:00
Fabian Freyer
ba1e783fe1 Added support for pkgng multiple repositories.
Currently checking if pkgng >= 1.1.4, as specified in
https://wiki.freebsd.org/pkgng . I guess that's when using PKGSITE was
deprecated.
2014-03-11 17:55:40 +01:00
James Tanner
4f9aadcc07 Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Arkadi Shishlov
f922bf56bf Use pkgng glob (-g) feature to allow installation of packages by wildcard.
Also solves the particular problem of installing packages that have multiple versions in the repo, but specifying the exact version would be troublesome:

$ pkg install -n dovecot
The following 2 packages will be installed:

	Installing dovecot: 1.2.17
	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n dovecot-2.2.6
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n -g dovecot-2*
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)
2013-11-15 13:28:14 +02:00
James Tanner
3656c37827 Addresses #4628 evaluate package check return properly and exit failure if not present 2013-11-12 10:37:27 -05:00
James Tanner
441669b118 Fixes #4877 set type to bool for cache parameter in apt module 2013-11-11 23:23:56 -05:00
abelbabel
51cebb062d typo 2013-09-25 18:50:41 +02:00
abelbabel
19db4d381c removed typo 2013-09-25 18:38:46 +02:00
abelbabel
9e88993939 add check mode support
Could it be that easy or do I have missed something?
2013-09-25 17:51:17 +02:00
Michael DeHaan
79a9629108 Revert "now modules can implement with_items list globbing w/o updating"
This reverts commit 4942a06bc2.

Conflicts:

	lib/ansible/runner/__init__.py
2013-06-19 19:00:18 -04:00
Michael DeHaan
2ec0c4478c Merge pull request #3227 from bcoca/modules_wantlist
implementing with_items list globbing made easier for modules
2013-06-16 19:29:02 -07:00
Brian Coca
98c290f9e1 now modules can implement with_items list globbing w/o updating
hardcoded lists in ansible code, just add WITH_ITEMS_USES_LIST in a
comment anywhere, and of course, support recieving params as list.

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-15 16:28:43 -04:00
Jan-Piet Mens
3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
bleader
394b89874e new module to handle FreeBSD packages with pkgng
New binary package management should be the default soon in FreeBSD, and
is already fully useable through self generated and non official binary
repositories.

- add support for pkgng
- support specifying the repository url as a parameter
- allow not to update cache

Signed-off-by: bleader <bleader@ratonland.org>
2013-05-10 15:03:07 +02:00