Skip to content

Commit 4dd56f7

Browse files
committed
Update function to accept either string or undef data type.
1 parent a2a3a1a commit 4dd56f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/file_or_content.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function peadm::file_or_content(
2-
String $param_name,
3-
String $file,
4-
String $content,
2+
String $param_name,
3+
Variant[String, Undef] $file,
4+
Variant[String, Undef] $content,
55
) {
66

77
$value = [

0 commit comments

Comments
 (0)