Merge pull request #438 from puppetlabs/daenney/cant-touch-params-nanananana
apt::params: Make the class private.
This commit is contained in:
commit
4e453191ea
1 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,9 @@
|
|||
class apt::params {
|
||||
|
||||
if $caller_module_name and $caller_module_name != $module_name {
|
||||
fail('apt::params is a private class and cannot be accessed directly')
|
||||
}
|
||||
|
||||
$root = '/etc/apt'
|
||||
$provider = '/usr/bin/apt-get'
|
||||
$sources_list = "${root}/sources.list"
|
||||
|
|
Loading…
Reference in a new issue