Skip to content

Commit 78fdaed

Browse files
committed
allow String as type for priority in sudo::conf, fixes #322
1 parent c7b4511 commit 78fdaed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REFERENCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ Default value: `present`
468468

469469
##### <a name="-sudo--conf--priority"></a>`priority`
470470

471-
Data type: `Integer[0]`
471+
Data type: `Variant[String[1], Integer[0]]`
472472

473473
Prefix file name with $priority
474474

manifests/conf.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#
3737
define sudo::conf (
3838
Enum['present', 'absent'] $ensure = present,
39-
Integer[0] $priority = 10,
39+
Variant[String[1], Integer[0]] $priority = 10,
4040
Optional[Variant[Array[String[1]], String[1]]] $content = undef,
4141
Optional[String[1]] $source = undef,
4242
Optional[String[1]] $template = undef,

0 commit comments

Comments
 (0)