puppet-openvpn
puppet-openvpn copied to clipboard
Wrong pam_module_path on Centos 7 x64
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.
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'],
}