]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
(#12809) $release should use $lsbdistcodename and fall back to manual input
authorWilliam Van Hevelingen <blkperl@cat.pdx.edu>
Fri, 24 Feb 2012 22:03:51 +0000 (14:03 -0800)
committerWilliam Van Hevelingen <blkperl@cat.pdx.edu>
Thu, 1 Mar 2012 19:15:02 +0000 (11:15 -0800)
commit7c0d10b392cc6ef77817975e93bf8bedaf8f34f6
tree85294784732dcf196cb81ca0ab6df0a1f4f0fee3
parentb1eb28956ec025c200cfcef32eea6e696498e10e
(#12809) $release should use $lsbdistcodename and fall back to manual input

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.
manifests/params.pp
manifests/ppa.pp
manifests/source.pp
spec/defines/ppa_spec.rb
spec/defines/source_spec.rb