From 7e766249541ce4c302cf880d290a87163e83c119 Mon Sep 17 00:00:00 2001 From: Aaron Dummer Date: Mon, 17 Jun 2024 14:48:18 -0500 Subject: [PATCH] stop using validate_hash(), refresh metadata.json --- manifests/server.pp | 5 +---- metadata.json | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/manifests/server.pp b/manifests/server.pp index f38ca894..f21df78a 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -68,7 +68,7 @@ $date_format = 'iso8601', $admin_email = 'root@localhost', $admin_pager = 'pagenagios@localhost', - $cfg_append = undef, + Optional[Hash] $cfg_append = undef, $service_check_timeout = '60', $host_check_timeout = '30', $event_handler_timeout = '30', @@ -302,9 +302,6 @@ } # Configuration files - if ($cfg_append != undef) { - validate_hash($cfg_append) - } file { '/etc/nagios/cgi.cfg': owner => 'root', group => 'root', diff --git a/metadata.json b/metadata.json index d46435b9..6f0e134f 100644 --- a/metadata.json +++ b/metadata.json @@ -11,17 +11,17 @@ "operatingsystem_support": [ { "operatingsystem": "RedHat", - "operatingsystemrelease": [ "5", "6", "7" ] + "operatingsystemrelease": [ "5", "6", "7", "8", "9" ] }, { "operatingsystem": "CentOS", - "operatingsystemrelease": [ "5", "6", "7" ] + "operatingsystemrelease": [ "5", "6", "7", "8" ] } ], "requirements": [ { "name": "puppet", - "version_requirement": ">=4.0.20 <7.0.0" + "version_requirement": ">=4.0.20 <8.0.0" } ], "dependencies": [