From 42412c9a2d45bc641f3c70c3c29ceee08bedb450 Mon Sep 17 00:00:00 2001 From: Philippe Muller Date: Thu, 25 Jun 2020 02:55:41 +0800 Subject: [PATCH] Remove call to the deprecated is_string() (#59) --- manifests/ca.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/ca.pp b/manifests/ca.pp index b18a871..91b8f25 100644 --- a/manifests/ca.pp +++ b/manifests/ca.pp @@ -52,7 +52,7 @@ $file_mode = $ca_file_mode } - if ($ensure == 'trusted' or $ensure == 'distrusted') and $source == 'text' and !is_string($ca_text) { + if ($ensure == 'trusted' or $ensure == 'distrusted') and $source == 'text' and !$ca_text { fail('ca_text is required if source is set to text') }