Skip to content

Commit c8b1a2a

Browse files
authored
Merge pull request #237 from bastelfreak/mode
file mode: Use type from stdlib
2 parents 41a6f83 + 55e20d8 commit c8b1a2a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

REFERENCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Default value: `undef`
179179

180180
##### <a name="-openssl--configs--mode"></a>`mode`
181181

182-
Data type: `Optional[String[1]]`
182+
Data type: `Optional[Stdlib::Filemode]`
183183

184184
default mode for the configuration files
185185

@@ -900,7 +900,7 @@ Default value: `'root'`
900900

901901
##### <a name="-openssl--dhparam--mode"></a>`mode`
902902

903-
Data type: `String`
903+
Data type: `Stdlib::Filemode`
904904

905905
file mode.
906906

manifests/configs.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
class openssl::configs (
5252
Optional[String[1]] $owner = undef,
5353
Optional[String[1]] $group = undef,
54-
Optional[String[1]] $mode = undef,
54+
Optional[Stdlib::Filemode] $mode = undef,
5555
Optional[String[1]] $country = undef,
5656
Optional[String[1]] $state = undef,
5757
Optional[String[1]] $locality = undef,

manifests/dhparam.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Integer[1] $size = 2048,
2121
Variant[String, Integer] $owner = 'root',
2222
Variant[String, Integer] $group = 'root',
23-
String $mode = '0644',
23+
Stdlib::Filemode $mode = '0644',
2424
Boolean $fastmode = false,
2525
) {
2626
dhparam { $path:

0 commit comments

Comments
 (0)