summaryrefslogtreecommitdiff
path: root/manifests/sources_list.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-06-29 18:42:02 +0000
committerintrigeri <intrigeri@boum.org>2016-06-29 18:42:02 +0000
commitf035fd1621c8f0fa5eeeacd89ba52742c540cb7c (patch)
treed36a1e4d388dd024ca63469fa260306564734e02 /manifests/sources_list.pp
parent5102b7863b09e58bdd712c9019885313270299ce (diff)
parentbc73809d7b33541b50ba9f38cb3bf1dd2237b98f (diff)
Merge remote-tracking branch 'shared/master' into bugfix/drop-obsolete-code-and-global-variable-in-apt-cron
Diffstat (limited to 'manifests/sources_list.pp')
-rw-r--r--manifests/sources_list.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/sources_list.pp b/manifests/sources_list.pp
index 0ee068d..7565bce 100644
--- a/manifests/sources_list.pp
+++ b/manifests/sources_list.pp
@@ -1,3 +1,4 @@
+# Configure an apt source
define apt::sources_list (
$ensure = 'present',
$source = '',
@@ -22,7 +23,9 @@ define apt::sources_list (
# apparently doesn't.
file { "/etc/apt/sources.list.d/${realname}.list":
ensure => $ensure,
- owner => root, group => 0, mode => '0644',
+ mode => '0644',
+ owner => 'root',
+ group => 0,
notify => Exec['apt_updated'],
}