diff --git a/manifests/os/debian.pp b/manifests/os/debian.pp index 0d1ea6d0c41f30a9dff774329586f185c7b7ebf9..6554c0af419a891f878193d7a4acb17f74e85868 100644 --- a/manifests/os/debian.pp +++ b/manifests/os/debian.pp @@ -55,6 +55,16 @@ class base::os::debian ( apt_cache_tmp_dir => $apt_cache_tmp_dir, } + # Define an aptitude update exec that will only get run if it receives a + # notification. This is a _convenience_ resource as it will NOT receive a + # notification from any resource in _this_ class; it is intended that + # _other_ classes notify it. + exec { 'aptitude update': + command => 'aptitude update', + path => '/bin:/usr/bin', + refreshonly => true, + } + # Install basic configuration files. file { '/etc/default/rcS':