From 92aa5a51e95d74604a40318558aa98f70fcf7720 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Mon, 25 Oct 2010 12:36:59 -0400 Subject: Ensure presence of sources.list.d and watch it Add a file resource on the apt/sources.list.d directory to ensure that it is created as a directory and watch it for modifications to automatically refresh the apt cache. Signed-off-by: Gabriel Filion --- manifests/sources_list.pp | 1 - 1 file changed, 1 deletion(-) (limited to 'manifests/sources_list.pp') diff --git a/manifests/sources_list.pp b/manifests/sources_list.pp index d3f18d5..bbf887a 100644 --- a/manifests/sources_list.pp +++ b/manifests/sources_list.pp @@ -12,7 +12,6 @@ define apt::sources_list ( file { "/etc/apt/sources.list.d/${name}": ensure => $ensure, - notify => Exec['refresh_apt'], owner => root, group => 0, mode => 0600; } -- cgit v1.2.3