From 45c311fa16e64dba8664b6c4f8079c7392211a3f Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 8 Jan 2012 18:09:20 +0000 Subject: some cleaning --- modules/youri-check/manifests/init.pp | 11 +++-------- 1 file 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", -- cgit v1.2.1