Merge pull request #428 from puppetlabs/daenney/apt-setting
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index e7310aa55a9369203c2fd93d85f1f18e9cdaafef..3aba99e3112b1ae68761a2f57ca149bffbb0fc98 100644 (file)
@@ -11,6 +11,27 @@ class apt::params {
     fail('This module only works on Debian or derivatives like Ubuntu')
   }
 
+  $config_files = {
+    'conf'   => {
+      'path' => $conf_d,
+      'ext'  => '',
+    },
+    'pref'   => {
+      'path' => $preferences_d,
+      'ext'  => '',
+    },
+    'list'   => {
+      'path' => $sources_list_d,
+      'ext'  => '.list',
+    }
+  }
+
+  $file_defaults = {
+    'owner' => 'root',
+    'group' => 'root',
+    'mode'  => '0644',
+  }
+
   case $::lsbdistid {
     'ubuntu', 'debian': {
       $distid = $::lsbdistid