Skip to content
Snippets Groups Projects
Commit 69c28d0d authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

add convenience 'aptitude update' exec

parent 4a6a1e80
No related branches found
Tags release/005.005
No related merge requests found
......@@ -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':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment