aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {