]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
apt::params: Make the class private.
authorDaniele Sluijters <daenney@users.noreply.github.com>
Tue, 24 Feb 2015 20:43:36 +0000 (21:43 +0100)
committerDaniele Sluijters <daenney@users.noreply.github.com>
Tue, 24 Feb 2015 20:43:36 +0000 (21:43 +0100)
commit3b5145bf51c0a887233b7d97208b9329aefc2d64
tree7d2b8ecb6bf4029c21733d519b0b3e550508a764
parentcddf5498f0b9150f2d54f8eadc0c5675ec9d9414
apt::params: Make the class private.

Prevent direct access to apt::params. This will ensure that any other
module cannot blindly access apt::params and get settings that have been
potentially overridden at the apt level.

Our own module still can since any class in apt has a module_name of
'apt' but that's up to us to prevent from happening.

Every setting must now be accessed by a qualified lookup into the apt
namespace.
manifests/params.pp