summaryrefslogtreecommitdiff
path: root/manifests/sources_list.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-02-12 12:51:12 +0000
committerintrigeri <intrigeri@boum.org>2017-02-12 12:51:12 +0000
commit4dce28de2f702a2ec9f8855d96b49f930966ea1e (patch)
tree18f3439205b380a711d66ab643d0689142d81a73 /manifests/sources_list.pp
parentf41eebf3cae6549b6c56874fc7fda5432f95d9a2 (diff)
parent904be827acc3cc377123544eaf401f26eb984495 (diff)
Merge remote-tracking branch 'sogeecom/harmonize_style' into shared-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 {