-# Setting params for the module
+# @summary Provides defaults for the Apt module parameters.
+#
+# @api private
+#
class apt::params {
if $::osfamily != 'Debian' {
- fail('This module only works on Debian or derivatives like Ubuntu')
+ fail(translate('This module only works on Debian or derivatives like Ubuntu'))
}
$root = '/etc/apt'
$ppa_package = 'software-properties-common'
}
undef: {
- fail('Unable to determine value for fact os["name"]')
+ fail(translate('Unable to determine value for fact os[\"name\"]'))
}
default: {
$ppa_options = undef