Merge pull request #461 from mhaskel/boo_inheritance

Inheritance of apt::params means it can't be private
This commit is contained in:
Daniele Sluijters 2015-03-11 09:21:45 +01:00
commit 4fa28203b9

View file

@ -1,9 +1,5 @@
class apt::params {
if defined('$caller_module_name') and $caller_module_name and $caller_module_name != $module_name {
fail('apt::params is a private class and cannot be accessed directly')
}
if $::osfamily != 'Debian' {
fail('This module only works on Debian or derivatives like Ubuntu')
}