This Puppet type was one of my earlier public releases and while it does still work I'd highly recommend using https://forge.puppetlabs.com/puppetlabs/apt instead.
I'd like to say thank you to all the people that have sent me nice emails about this chunk of code over the years.
Manage Debian / Ubuntu source.list files under /etc/apt/sources.list.d
Usage:
aptsourced { 'backports':
uri => 'http://www.backports.org/debian',
distribution => $lsbdistcodename,
components => [ 'main', 'contrib' ],
}
aptsourced { 'internalrepo.list':
ensure => 'present', # optional
repotype => 'deb-src',
uri => 'http://localhost/debian',
distribution => $::lsbdistcodename,
components => [ 'main', 'nonfree' ],
}
Copyright - Dean Wilson dean.wilson@gmail.com
License: GPLv2