[puppet] Fix syntax error



commit 7d461d84d9c2e48f8fa40e87317e85fa320fbb4a
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Fri Apr 5 20:19:33 2019 +0200

    Fix syntax error

 modules/postgresql/manifests/init.pp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp
index 8d0e2d4b..559b9001 100644
--- a/modules/postgresql/manifests/init.pp
+++ b/modules/postgresql/manifests/init.pp
@@ -1,5 +1,5 @@
 class postgresql (
-        enable_check_mk => 'true',
+        $enable_check_mk = true,
 ) {
 
         package { 'postgresql': ensure => installed, }
@@ -12,7 +12,7 @@ class postgresql (
                 hasstatus => true,
         }
 
-        if $enable_check_mk == 'true' {
+        if $enable_check_mk {
                 file { '/usr/share/check-mk-agent/plugins/mk_postgres':
                         ensure => link,
                         target => '/usr/share/check-mk-agent/available-plugins/mk_postgres',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]