Skip to content

Commit

Permalink
Remove call to the deprecated is_string()
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuller committed May 28, 2019
1 parent 9ad1295 commit 96b5f06
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 96b5f06

Please sign in to comment.