summaryrefslogtreecommitdiff
path: root/manifests/sources_list.pp
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-06-27 13:57:43 +0200
committerVarac <varac@leap.se>2017-06-27 13:57:43 +0200
commit3bed48fba6ae35813b8c4413887aba5262c43689 (patch)
tree75595f81892da069002af27f361c41ac6381cd96 /manifests/sources_list.pp
parent5d001efb65f4ac2afa39d17b7b62d4f861f450a3 (diff)
parentf3db3309f3a3fc5ee0f621593ed83805798f7890 (diff)
Merge remote-tracking branch 'shared/master' into leap_master
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 {