summaryrefslogtreecommitdiff
path: root/manifests/listchanges.pp
diff options
context:
space:
mode:
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),