diff options
author | Varac <varac@leap.se> | 2017-06-27 13:57:43 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-06-27 13:57:43 +0200 |
commit | 3bed48fba6ae35813b8c4413887aba5262c43689 (patch) | |
tree | 75595f81892da069002af27f361c41ac6381cd96 /manifests/apt_conf.pp | |
parent | 5d001efb65f4ac2afa39d17b7b62d4f861f450a3 (diff) | |
parent | f3db3309f3a3fc5ee0f621593ed83805798f7890 (diff) |
Merge remote-tracking branch 'shared/master' into leap_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'], } } - } |