X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fparams.pp;h=f85b9d186ec960a3527ae4c9f7460af736a02792;hb=a30791306b26a18d79875dbc1d99b11205802bcc;hp=8fd658b90d6761c02b423662271523cc97afa27e;hpb=33d17cfcfd86bef27a71e29a0fbab4b20b97327d;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/params.pp b/manifests/params.pp index 8fd658b..f85b9d1 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -39,6 +39,7 @@ class apt::params { $update_defaults = { 'frequency' => 'reluctantly', + 'loglevel' => undef, 'timeout' => undef, 'tries' => undef, } @@ -48,6 +49,7 @@ class apt::params { 'host' => undef, 'port' => 8080, 'https' => false, + 'direct' => false, } $purge_defaults = { @@ -72,16 +74,9 @@ class apt::params { case $facts['os']['name']{ 'Debian': { case $facts['os']['release']['full'] { - '6.0': { - $backports = { - 'location' => 'http://httpredir.debian.org/debian-backports', - 'key' => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553', - 'repos' => 'main contrib non-free', - } - } default: { $backports = { - 'location' => 'http://httpredir.debian.org/debian', + 'location' => 'http://deb.debian.org/debian', 'key' => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553', 'repos' => 'main contrib non-free', } @@ -108,7 +103,7 @@ class apt::params { $ppa_options = '-y' $ppa_package = 'python-software-properties' } - '14.04', '14.10', '15.04', '15.10': { + '14.04', '14.10', '15.04', '15.10', '16.04': { $ppa_options = '-y' $ppa_package = 'software-properties-common' } @@ -119,7 +114,7 @@ class apt::params { } } undef: { - fail('Unable to determine full release number') + fail('Unable to determine value for fact os["name"]') } default: { $ppa_options = undef