module-puppetlabs-apt/manifests
Martin Seener 93567aef4a apt::force: Added 2 parameters for automatic configuration file handling; fixes #modules-1306
when updating or installing newer packages with apt::force and you have changed previous
configuration files aptitude or apt-get will prompt what to do. You can suppress that
by pre-define the action with cfg_files parameter (new, old or unchanged and its backward
compatible if not defined). With a second optional parameter cfg_missing you can force
your provider to install missing configuration files as well.

Signed-off-by: Martin Seener <martin@seener.de>

apt::force: Changed selectors used in force.pp to case statements; refs #module-1306

Signed-off-by: Martin Seener <martin@seener.de>

apt::force: rspec: fixed the failing tests and added validate_re for cfg_files and validate_bool for cfg_missing. Also removed default values for both case statements and only allow pre-defined values or true/false. Furthermore enhanced the README refs #module-1306

Was able to fix the failing rspec tests for the patch.
Thanks to Morgan Haskel.

Signed-off-by: Martin Seener <martin@seener.de>

Despite the puppetlabs-stdlib documentation says validation_re supports 3 arguments the tests failed telling that only 2 are supported. Fixed this by removing the 3 optional argument; refs #modules-1306

Signed-off-by: Martin Seener <martin.seener@barzahlen.de>

apt::force: updated readme refs #module-1306

Signed-off-by: Martin Seener <martin@seener.de>
2014-09-22 19:53:45 +02:00
..
debian Update out-of-date Debian signing key in remaining files. 2014-02-18 16:57:01 -05:00
backports.pp Prefer if/else over ? selector with default 2014-08-29 16:57:09 +02:00
builddep.pp Add logoutput on_failure for all exec resources. 2012-06-07 14:53:41 -07:00
conf.pp Fix style errors 2012-08-21 22:55:24 +02:00
force.pp apt::force: Added 2 parameters for automatic configuration file handling; fixes #modules-1306 2014-09-22 19:53:45 +02:00
hold.pp Update hold.pp 2014-07-31 18:40:46 +02:00
init.pp Fix some Puppet Lint errors 2014-09-05 18:51:39 +02:00
key.pp Adding dash to key_server validate regex 2014-06-10 01:07:04 +01:00
params.pp Merge pull request #353 from Smartesting/add-support-for-linuxmint-operatingsystem 2014-09-07 11:56:08 +02:00
pin.pp Cleaned up unit tests. 2014-08-04 19:44:19 -04:00
ppa.pp Fix some Puppet Lint errors 2014-09-05 18:51:39 +02:00
release.pp Adds apt::{conf,backports} and variable style. 2012-04-20 13:35:27 -07:00
source.pp Update hold.pp 2014-07-31 18:40:46 +02:00
unattended_upgrades.pp Cleaned up unit tests. 2014-08-04 19:44:19 -04:00
update.pp Added retry to update operation 2014-03-05 15:59:21 -06:00