Commit graph

7 commits

Author SHA1 Message Date
Charlie Root
e852df1c0a Add rootdir option to pkgng 2016-12-08 11:33:03 -05:00
Greg DeKoenigsberg
c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Toshio Kuratomi
4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
Matt Martz
8bd5757720 Fix up modules that have python24 syntax error 2016-12-08 11:32:36 -05:00
Matthew Pherigo
11a68b4cad Make $BATCH=yes the default, remove module option 2016-12-08 11:32:25 -05:00
Matthew Pherigo
5664da4c63 pkgng: add 'batch' parameter
Some packages attempt to prompt the user for certain settings during
installation. Thus, this parameter sets the environment variable
$BATCH to 'yes', which forces package installation scripts to accept
default values for these interactive prompts. This should work for all
prompts that have a default value and aren't implemented through a
custom script (as this variable is built into the ports/package system).

FIXME: Package install should fail if it prompts and batch isn't set;
currently, the install hangs indefinitely.
TODO: Allow user to specify the answers to certain prompts.

I (github.com/mwpher) have NOT tested this with any packages besides
bsdstats. It's a small improvement, but not a complete answer to all
the complexities of package installation.
2016-12-08 11:32:24 -05:00
Michael DeHaan
7d6ceb4f06 Reorganization. 2016-12-08 11:32:19 -05:00
Renamed from lib/ansible/modules/extras/packaging/pkgng.py (Browse further)