summaryrefslogtreecommitdiff
path: root/manifests/listchanges.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-02-12 12:51:12 +0000
committerintrigeri <intrigeri@boum.org>2017-02-12 12:51:12 +0000
commit4dce28de2f702a2ec9f8855d96b49f930966ea1e (patch)
tree18f3439205b380a711d66ab643d0689142d81a73 /manifests/listchanges.pp
parentf41eebf3cae6549b6c56874fc7fda5432f95d9a2 (diff)
parent904be827acc3cc377123544eaf401f26eb984495 (diff)
Merge remote-tracking branch 'sogeecom/harmonize_style' into shared-master
Diffstat (limited to 'manifests/listchanges.pp')
-rw-r--r--manifests/listchanges.pp21
1 files changed, 12 insertions, 9 deletions
diff --git a/manifests/listchanges.pp b/manifests/listchanges.pp
index ecbbe6d..d657812 100644
--- a/manifests/listchanges.pp
+++ b/manifests/listchanges.pp
@@ -1,13 +1,16 @@
-class apt::listchanges(
- $ensure_version = 'installed',
- $config = "apt/${::operatingsystem}/listchanges.erb",
- $frontend = 'mail',
- $email = 'root',
- $confirm = '0',
- $saveseen = '/var/lib/apt/listchanges.db',
- $which = 'both'
+class apt::listchanges (
+ $ensure_version = 'present',
+ $config = "apt/${::operatingsystem}/listchanges.erb",
+ $frontend = 'mail',
+ $email = 'root',
+ $confirm = '0',
+ $saveseen = '/var/lib/apt/listchanges.db',
+ $which = 'both',
){
- package { 'apt-listchanges': ensure => $ensure_version }
+
+ package { 'apt-listchanges':
+ ensure => $ensure_version;
+ }
file { '/etc/apt/listchanges.conf':
content => template($apt::listchanges::config),