summaryrefslogtreecommitdiff
path: root/manifests/apt_conf.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/apt_conf.pp
parentf41eebf3cae6549b6c56874fc7fda5432f95d9a2 (diff)
parent904be827acc3cc377123544eaf401f26eb984495 (diff)
Merge remote-tracking branch 'sogeecom/harmonize_style' into shared-master
Diffstat (limited to 'manifests/apt_conf.pp')
-rw-r--r--manifests/apt_conf.pp15
1 files changed, 7 insertions, 8 deletions
diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp
index fa8cfa3..8225915 100644
--- a/manifests/apt_conf.pp
+++ b/manifests/apt_conf.pp
@@ -1,9 +1,9 @@
-define apt::apt_conf(
- $ensure = 'present',
- $source = undef,
- $content = undef,
- $refresh_apt = true )
-{
+define apt::apt_conf (
+ $ensure = 'present',
+ $source = undef,
+ $content = undef,
+ $refresh_apt = true,
+) {
if $source == undef and $content == undef {
fail("One of \$source or \$content must be specified for apt_conf ${name}")
@@ -38,8 +38,7 @@ define apt::apt_conf(
if $refresh_apt {
File["/etc/apt/apt.conf.d/${name}"] {
- notify => Exec['apt_updated'],
+ notify => Exec['update_apt'],
}
}
-
}