7c0d10b392
This commit changes $release to default to Facter's $lsbdistcodename and fall back to a Parse Error if $release is not set and $lsbdistcodename does not exist. Previously $release was hardcoded to karmic. This commit also modifies apt::ppa to use $release and sets the files to be ensured so that they are not purged when purge_sources_list_d is set to true.
5 lines
137 B
Puppet
5 lines
137 B
Puppet
class apt::params {
|
|
$root = '/etc/apt'
|
|
$provider = '/usr/bin/apt-get'
|
|
$sources_list_d = "${root}/sources.list.d"
|
|
}
|