From 0d9bab38cc252edb1af333e7cd6cee11a2c71f65 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Fri, 20 Feb 2015 10:47:35 -0800 Subject: [PATCH] Remove 'include apt::update' It is included in `class apt`, and there are no promises about anything working without that. --- manifests/ppa.pp | 3 --- manifests/source.pp | 2 -- 2 files changed, 5 deletions(-) diff --git a/manifests/ppa.pp b/manifests/ppa.pp index f6c7373d8d..788262f09f 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 b06d6101b1..d145918223 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -17,8 +17,6 @@ $architecture = undef, $trusted_source = false, ) { - include apt::update - validate_string($architecture) validate_bool($trusted_source)