diff options
author | intrigeri <intrigeri@boum.org> | 2017-02-12 12:51:12 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2017-02-12 12:51:12 +0000 |
commit | 4dce28de2f702a2ec9f8855d96b49f930966ea1e (patch) | |
tree | 18f3439205b380a711d66ab643d0689142d81a73 /manifests/apt_conf.pp | |
parent | f41eebf3cae6549b6c56874fc7fda5432f95d9a2 (diff) | |
parent | 904be827acc3cc377123544eaf401f26eb984495 (diff) |
Merge remote-tracking branch 'sogeecom/harmonize_style' into shared-master
Diffstat (limited to 'manifests/apt_conf.pp')
-rw-r--r-- | manifests/apt_conf.pp | 15 |
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'], } } - } |