From 0f6ec9b4f1af822efa021f9f46071b9e43753a89 Mon Sep 17 00:00:00 2001 From: David Ross Date: Tue, 26 Jan 2016 21:55:32 -0800 Subject: [PATCH] remove the immediate apt-get update on every run the chef apt_repository lwrp will do this automatically if the repository is added --- recipes/install_deb.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/install_deb.rb b/recipes/install_deb.rb index e6d3836..68211c2 100644 --- a/recipes/install_deb.rb +++ b/recipes/install_deb.rb @@ -28,7 +28,6 @@ keyserver 'keyserver.ubuntu.com' key '5ADC2037' only_if { node['platform'] == 'ubuntu' } - notifies :run, 'execute[apt-get update]', :immediately end package 'clamav' do