-
Notifications
You must be signed in to change notification settings - Fork 183
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
Allow empty unixsocket(perm) #333
Conversation
Stdlib::Absolutepath $unixsocket = '/var/run/redis/redis.sock', | ||
Stdlib::Filemode $unixsocketperm = '0755', | ||
Variant[Stdlib::Absolutepath, Enum['']] $unixsocket = '/var/run/redis/redis.sock', | ||
Variant[Stdlib::Filemode, Enum['']] $unixsocketperm = '0755', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really needed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously the template allowed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see only one use case , let the default umask manage the perm of the file.
Bah ... not sure it is useful, but why not.
502ff38 tightened the data types, but too much. It's valid not to bind on a unix socket and the template allowed this.
5bb7823
to
9d26031
Compare
How about this version? |
@amoralej mind having a look? |
Allow empty unixsocket(perm)
502ff38 tightened the data types, but too much. It's valid not to bind on a unix socket and the template allowed this.