pdksync_heads/master-0-gbf720df
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index 479ac122358b44bc0aff9639d336904b33a65e94..52b9bca3fcaa231c6f9a4ab997df448cd7a1e9e9 100644 (file)
@@ -1,8 +1,11 @@
-# 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'
@@ -23,6 +26,7 @@ class apt::params {
   $ppas           = {}
   $pins           = {}
   $settings       = {}
+  $manage_auth_conf = true
   $auth_conf_entries = []
 
   $config_files = {
@@ -94,7 +98,7 @@ class apt::params {
       $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