aboutsummaryrefslogtreecommitdiffstats
path: root/modules/youri-check/manifests/init.pp
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-04-03 13:25:04 +0000
committerPascal Terjan <pterjan@mageia.org>2011-04-03 13:25:04 +0000
commitacdae0eddd8c76e6201b46d15ff942514c56643b (patch)
tree8ad7f216af6a33c7ebd8e2ea82beeff314feb955 /modules/youri-check/manifests/init.pp
parent31b4e09c884805a592fbc7fa3a6c0ffd5ca3abf8 (diff)
downloadpuppet-acdae0eddd8c76e6201b46d15ff942514c56643b.tar
puppet-acdae0eddd8c76e6201b46d15ff942514c56643b.tar.gz
puppet-acdae0eddd8c76e6201b46d15ff942514c56643b.tar.bz2
puppet-acdae0eddd8c76e6201b46d15ff942514c56643b.tar.xz
puppet-acdae0eddd8c76e6201b46d15ff942514c56643b.zip
Config file is also needed to generate report
Diffstat (limited to 'modules/youri-check/manifests/init.pp')
-rw-r--r--modules/youri-check/manifests/init.pp13
1 files changed, 6 insertions, 7 deletions
diff --git a/modules/youri-check/manifests/init.pp b/modules/youri-check/manifests/init.pp
index 22eb61ae..f0059d56 100644
--- a/modules/youri-check/manifests/init.pp
+++ b/modules/youri-check/manifests/init.pp
@@ -21,6 +21,12 @@ class youri-check {
password => $pgsql_password,
}
+ file { "$config":
+ ensure => present,
+ owner => $user,
+ mode => 640,
+ content => template("youri-check/check.conf"),
+ }
}
class check inherits base {
@@ -34,13 +40,6 @@ class youri-check {
minute => 4,
user => "$user",
}
-
- file { "$config":
- ensure => present,
- owner => $user,
- mode => 640,
- content => template("youri-check/check.conf"),
- }
}
class report inherits base {