From ef6036e879f894697a03459501a994af930dc4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Thu, 22 Dec 2016 21:37:05 -0500 Subject: harmonize variable alignment --- manifests/apt_conf.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'manifests/apt_conf.pp') diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp index fa8cfa3..ec6da6d 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}") -- cgit v1.2.3 From c4e6f42e1b629e98ddeeb7c9821f1266f7295685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Thu, 22 Dec 2016 21:46:37 -0500 Subject: fix missing/superfluous newline at the end/beginning of files --- manifests/apt_conf.pp | 1 - 1 file changed, 1 deletion(-) (limited to 'manifests/apt_conf.pp') diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp index ec6da6d..709fd23 100644 --- a/manifests/apt_conf.pp +++ b/manifests/apt_conf.pp @@ -41,5 +41,4 @@ define apt::apt_conf ( notify => Exec['apt_updated'], } } - } -- cgit v1.2.3 From bdd6cf421143914cc2c0c63fa543013892fd3bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Thu, 22 Dec 2016 22:17:35 -0500 Subject: use the same name for the update_apt exec everywhere --- manifests/apt_conf.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/apt_conf.pp') diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp index 709fd23..8225915 100644 --- a/manifests/apt_conf.pp +++ b/manifests/apt_conf.pp @@ -38,7 +38,7 @@ define apt::apt_conf ( if $refresh_apt { File["/etc/apt/apt.conf.d/${name}"] { - notify => Exec['apt_updated'], + notify => Exec['update_apt'], } } } -- cgit v1.2.3