From: Morgan Haskel Date: Fri, 20 Feb 2015 18:47:35 +0000 (-0800) Subject: Remove 'include apt::update' X-Git-Tag: 2.0.0~42^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=0d9bab38cc252edb1af333e7cd6cee11a2c71f65;p=puppet-modules%2Fpuppetlabs-apt.git Remove 'include apt::update' It is included in `class apt`, and there are no promises about anything working without that. --- diff --git a/manifests/ppa.pp b/manifests/ppa.pp index f6c7373..788262f 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -1,12 +1,9 @@ # ppa.pp - define apt::ppa( $ensure = 'present', $release = $::lsbdistcodename, $options = $apt::params::ppa_options, ) { - include apt::update - $sources_list_d = $apt::params::sources_list_d if ! $release { diff --git a/manifests/source.pp b/manifests/source.pp index b06d610..d145918 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -17,8 +17,6 @@ define apt::source( $architecture = undef, $trusted_source = false, ) { - include apt::update - validate_string($architecture) validate_bool($trusted_source)