summaryrefslogtreecommitdiff
path: root/manifests/sources_list.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/sources_list.pp')
-rw-r--r--manifests/sources_list.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/sources_list.pp b/manifests/sources_list.pp
index 6ff4fc3..35a7643 100644
--- a/manifests/sources_list.pp
+++ b/manifests/sources_list.pp
@@ -1,8 +1,9 @@
# Configure an apt source
+
define apt::sources_list (
$ensure = 'present',
$source = undef,
- $content = undef
+ $content = undef,
) {
if $ensure == 'present' {
@@ -26,7 +27,7 @@ define apt::sources_list (
mode => '0644',
owner => 'root',
group => 0,
- notify => Exec['apt_updated'],
+ notify => Exec['update_apt'],
}
if $source {