X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fparams.pp;h=3aba99e3112b1ae68761a2f57ca149bffbb0fc98;hb=e75e603d339ee2741c73967da19493298530629a;hp=e7310aa55a9369203c2fd93d85f1f18e9cdaafef;hpb=59c362a2c13619278977087521c81aa20169cbca;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/params.pp b/manifests/params.pp index e7310aa..3aba99e 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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