Skip to content

Commit

Permalink
Remove call to the deprecated is_string() (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuller authored Jun 24, 2020
1 parent d82a070 commit 42412c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/ca.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}

Expand Down

0 comments on commit 42412c9

Please sign in to comment.