X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fparams.pp;h=5ef175b713d46b5f7caca0e9102b8aa0958160a4;hb=3d3620ccd767ca8c4055f1c84a658c79de31fcb3;hp=ae656dbf8f7fde2a8eb5f8c0b94cacf1b629661b;hpb=32eec3baf6171d4f4aeb513f4e481f82a8a92338;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/params.pp b/manifests/params.pp index ae656db..5ef175b 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -3,7 +3,6 @@ # @api private # class apt::params { - if $facts['os']['family'] != 'Debian' { fail('This module only works on Debian or derivatives like Ubuntu') } @@ -44,7 +43,7 @@ class apt::params { 'list' => { 'path' => $sources_list_d, 'ext' => '.list', - } + }, } $update_defaults = { @@ -76,7 +75,7 @@ class apt::params { 'src' => false, } - case $facts['os']['name']{ + case $facts['os']['name'] { 'Debian': { $backports = { 'location' => 'http://deb.debian.org/debian',