Commit Graph

19 Commits (ac6ccb77cc7f7aca228f3e8a28c9e00df17d70fc)

Author SHA1 Message Date
Cédric RICARD 3384021fe6 Fixed test on 'cached' parameter.
'cached' parameter is boolean, not string
11 years ago
James Tanner c29cca6f86 Fix version added for annotation in pkgng 11 years ago
Fabian Freyer 17fcc89b3b Fixed bug that occurred when pkgsite not specified 11 years ago
Fabian Freyer 064722aa5e Added support for package annotations. 11 years ago
Fabian Freyer efe7bfa74a Changed old variable names that referred to pkgin. 11 years ago
Fabian Freyer 880eaf38a6 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.
11 years ago
James Tanner ad837709bd Addresses #5023 Fix import comments 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Arkadi Shishlov 78f5c69a88 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)
11 years ago
James Tanner 710117e4da Addresses #4628 evaluate package check return properly and exit failure if not present 11 years ago
James Tanner aafe7f5b37 Fixes #4877 set type to bool for cache parameter in apt module 11 years ago
abelbabel effcb963f6 typo 11 years ago
abelbabel ee5ab48bec removed typo 11 years ago
abelbabel e504ff94e6 add check mode support
Could it be that easy or do I have missed something?
11 years ago
Michael DeHaan d9c0a5c37d Revert "now modules can implement with_items list globbing w/o updating"
This reverts commit 4942a06bc2.

Conflicts:

	lib/ansible/runner/__init__.py
11 years ago
Michael DeHaan d9f91be34a Merge pull request #3227 from bcoca/modules_wantlist
implementing with_items list globbing made easier for modules
11 years ago
Brian Coca 4942a06bc2 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>
11 years ago
Jan-Piet Mens 5c69918d53 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
11 years ago
bleader bdf6819c71 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>
12 years ago