Commit 69c28d0d authored by Adam Lewenberg's avatar Adam Lewenberg

add convenience 'aptitude update' exec

parent 4a6a1e80
......@@ -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':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment