aboutsummaryrefslogtreecommitdiffstats
path: root/modules/youri-check/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/youri-check/manifests/init.pp')
-rw-r--r--modules/youri-check/manifests/init.pp11
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/youri-check/manifests/init.pp b/modules/youri-check/manifests/init.pp
index 4eb5c51f..3e505287 100644
--- a/modules/youri-check/manifests/init.pp
+++ b/modules/youri-check/manifests/init.pp
@@ -34,9 +34,7 @@ class youri-check {
}
class check inherits base {
- package { ['perl-Youri-Media', 'youri-check', 'perl-DBD-Pg'] :
- ensure => installed
- }
+ package { ['perl-Youri-Media', 'youri-check', 'perl-DBD-Pg']: }
cron { 'check':
command => "youri-check -c $config test",
@@ -50,8 +48,7 @@ class youri-check {
class report inherits base {
file { "$outdir":
ensure => directory,
- owner => youri,
- mode => 755
+ owner => $user,
}
postgresql::remote_user { $pgsql_user:
@@ -63,9 +60,7 @@ class youri-check {
user => $pgsql_user,
}
- package { ['youri-check', 'perl-DBD-Pg'] :
- ensure => installed
- }
+ package { ['youri-check', 'perl-DBD-Pg']: }
cron { 'check':
command => "youri-check -c $config report",