Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.02 KB

Deprecated - 2015/11/19

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.

Puppet APT Source.list type

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