Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lonlone Lee
base
Commits
69c28d0d
Commit
69c28d0d
authored
Jan 09, 2017
by
Adam Lewenberg
Browse files
add convenience 'aptitude update' exec
parent
4a6a1e80
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/os/debian.pp
View file @
69c28d0d
...
...
@@ -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'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment