X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fppa.pp;h=808c9751a042b32196dfc8c918216699f5085748;hb=d3ca10fd2f31d0161bcfc65c263bd044537a3c48;hp=5fc7f3c50384d911585e0345e8c5060ba4377ba5;hpb=c57d2dd5ddafe26bd17727ab184b00fb8a166a2a;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/ppa.pp b/manifests/ppa.pp index 5fc7f3c..808c975 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -10,8 +10,8 @@ define apt::ppa( fail('lsbdistcodename fact not available: release parameter required') } - if $::apt::distid != 'ubuntu' { - fail('apt::ppa is currently supported on Ubuntu and LinuxMint only.') + if $::apt::xfacts['lsbdistid'] == 'Debian' { + fail('apt::ppa is not currently supported on Debian.') } $filename_without_slashes = regsubst($name, '/', '-', 'G') @@ -60,9 +60,4 @@ define apt::ppa( notify => Exec['apt_update'], } } - - # Need anchor to provide containment for dependencies. - anchor { "apt::ppa::${name}": - require => Class['apt::update'], - } }