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

Allow empty unixsocket(perm) #333

Merged
merged 1 commit into from Dec 2, 2019
Merged

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 27, 2019

502ff38 tightened the data types, but too much. It's valid not to bind on a unix socket and the template allowed this.

REFERENCE.md Show resolved Hide resolved
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',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really needed ?

Copy link
Member Author

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.

Copy link
Member

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.

templates/redis.conf.erb Outdated Show resolved Hide resolved
502ff38 tightened the data types, but
too much. It's valid not to bind on a unix socket and the template
allowed this.
@ekohl
Copy link
Member Author

ekohl commented Nov 27, 2019

How about this version?

@ekohl
Copy link
Member Author

ekohl commented Nov 27, 2019

@amoralej mind having a look?

@ekohl ekohl merged commit 80f0e36 into voxpupuli:master Dec 2, 2019
@ekohl ekohl deleted the empty-unixsocket branch December 2, 2019 15:40
cegeka-jenkins pushed a commit to cegeka/puppet-redis that referenced this pull request Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants