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

Ensure correct permissions on client-configs/* #354

Open
jameskirsop opened this issue Sep 24, 2019 · 0 comments
Open

Ensure correct permissions on client-configs/* #354

jameskirsop opened this issue Sep 24, 2019 · 0 comments

Comments

@jameskirsop
Copy link
Contributor

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.5
  • Distribution: CentOS
  • Module version: Latest

How to reproduce (e.g Puppet code you use)

Assign permissions that mean that OpenVPN can't read client-configs.

What are you seeing

OpenVPN server not providing the correct IP addresses to clients because it silently ignores client configuration files that it can't read. A client configuration file which had been recently generated for a new host had permissions which meant that the user/group openvpn was running as couldn't read it.

What behaviour did you expect instead

The module to ensure that the correct permissions are set on the files so that OpenVPN server can read them. In my instance this is 644.

This could have alternatively been solved if the files under client-configs had the group set to the user that openvpn was running as.

Any additional information you'd like to impart

I'm not entirely sure how my sever ended up in this state. It could possibly have been because the user/group permissions changes (see #352) that I tried to make and switched back when things went bad with Facter.

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

No branches or pull requests

1 participant