summaryrefslogtreecommitdiff
path: root/manifests/sources_list.pp
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2016-06-29 17:31:14 +0200
committerGabriel Filion <gabster@lelutin.ca>2016-06-29 17:31:14 +0200
commit2bbfe8cab9ba8125feb9f54865e3025bf4d355ee (patch)
treec991efa091ad6eef692f0b8f4fdca1f3c3bde075 /manifests/sources_list.pp
parent354bada72153cfe29f0e91b0fff16d1eeaf5f0e2 (diff)
Fix some minor lint issues
This was shown by the testing that was added in merge request !34
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'],
}