puppetlabs/puppet-apt — pull request #40 by tbroyer (2012-03-31 15:55:00+00:00)
Title: Move Package['python-software-properties'] to apt:ppa

python-software-properties is only needed by apt::ppa, not any of the other puppet-apt types or classes, so let's move it to apt:ppa, so it only gets installed if needed.

This also allows dependencies like this one, where the apt-proxy, sources.list et al., and the apt-get update, are guaranteed to be set/have run prior to installing the package:

class { 'apt':
# set proxy or whatever other option here
}
apt::ppa { 'ppa:...':
require => Class['apt']
}

Also updates the apt-update in Apt::Ppa to use $apt::params::provider instead of aptitude.