Skip to content

Commit

Permalink
Make content parameter optional
Browse files Browse the repository at this point in the history
Our CI pipeline does not like default empty strings, and an empty string
is not an useful rc-script, so change the content data type to be an
optional non-empty String.
  • Loading branch information
smortex committed Oct 5, 2022
1 parent 372fec5 commit 9903e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/script.pp
Expand Up @@ -30,7 +30,7 @@
Enum['absent', 'present'] $ensure = 'present',
String[1] $priority = '50',
Boolean $autoexec = true,
String $content = '',
Optional[String[1]] $content = undef,
) {
include rclocal

Expand Down

0 comments on commit 9903e87

Please sign in to comment.