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

Wrong pam_module_path on Centos 7 x64 #234

Open
dupgit opened this issue Jun 8, 2017 · 1 comment
Open

Wrong pam_module_path on Centos 7 x64 #234

dupgit opened this issue Jun 8, 2017 · 1 comment

Comments

@dupgit
Copy link

dupgit commented Jun 8, 2017

module puppet-openvpn version is 4.0.1

cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
puppet --version
4.10.1
locate openvpn-plugin-auth-pam.so
/usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so

Seems that $pam_module_path is set to /usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so for Redhat families. Is there a way to pass this parameter to the openvpn::server class ?

Thanks.

@kirkmadera
Copy link

I also ran into this. As a temporary fix, you can apply this:

file { '/usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so':
    ensure => link,
    target => '/usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so',
    require => File['/usr/lib64/openvpn/plugin/lib'],
  }

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

2 participants