Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file mode: Use type from stdlib #237

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Default value: `undef`

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

Data type: `Optional[String[1]]`
Data type: `Optional[Stdlib::Filemode]`

default mode for the configuration files

Expand Down Expand Up @@ -900,7 +900,7 @@ Default value: `'root'`

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

Data type: `String`
Data type: `Stdlib::Filemode`

file mode.

Expand Down
2 changes: 1 addition & 1 deletion manifests/configs.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
class openssl::configs (
Optional[String[1]] $owner = undef,
Optional[String[1]] $group = undef,
Optional[String[1]] $mode = undef,
Optional[Stdlib::Filemode] $mode = undef,
Optional[String[1]] $country = undef,
Optional[String[1]] $state = undef,
Optional[String[1]] $locality = undef,
Expand Down
2 changes: 1 addition & 1 deletion manifests/dhparam.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Integer[1] $size = 2048,
Variant[String, Integer] $owner = 'root',
Variant[String, Integer] $group = 'root',
String $mode = '0644',
Stdlib::Filemode $mode = '0644',
Boolean $fastmode = false,
) {
dhparam { $path:
Expand Down