aboutsummaryrefslogtreecommitdiffstats
path: root/modules/youri-check/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 18:09:20 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 18:09:20 +0000
commit45c311fa16e64dba8664b6c4f8079c7392211a3f (patch)
treeda021bc2bc607cc52088d6827c312374b267075f /modules/youri-check/manifests
parentd5bff2ba89ed464d5a05f8af09677474db61aca6 (diff)
downloadpuppet-45c311fa16e64dba8664b6c4f8079c7392211a3f.tar
puppet-45c311fa16e64dba8664b6c4f8079c7392211a3f.tar.gz
puppet-45c311fa16e64dba8664b6c4f8079c7392211a3f.tar.bz2
puppet-45c311fa16e64dba8664b6c4f8079c7392211a3f.tar.xz
puppet-45c311fa16e64dba8664b6c4f8079c7392211a3f.zip
some cleaning
Diffstat (limited to 'modules/youri-check/manifests')
-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",