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')
notify => Exec['apt_update'],
}
}
-
- # Need anchor to provide containment for dependencies.
- anchor { "apt::ppa::${name}":
- require => Class['apt::update'],
- }
}