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

decoupled openvpn-ldap-auth package from additional packages. #247

Closed
wants to merge 58 commits into from

Conversation

metallaw
Copy link

No description provided.

mcrmonkey and others added 4 commits October 8, 2017 23:36
+ Added: Default cipher for server and client. BF-CBC isn't that strong
now and OVPN complains about this on startup

+ Added: 'timeout' for DH generation. Higher key sizes mean more time
processing.
+ Added: TLS ciphers added to help strengthen the server.

~ Changed: Key size now bumped up to 2048 which is now considered
minimum key size requirement.
Added ldap_auth_plugin_location for Redhat/Centos 7
…definition to decouple it from additional packages.
@@ -679,6 +679,9 @@
}

if $ldap_enabled == true {
package {$openvpn::params::ldap_auth_plugin_package:
Copy link
Member

Choose a reason for hiding this comment

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

can you add ldap_auth_plugin_package as additional param to the server class?

Copy link
Author

Choose a reason for hiding this comment

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

Hi, yeah sure. Thanks!

$systemd = true
# Redhat/Centos == 6.0
} elsif(versioncmp($::operatingsystemrelease, '6.0') >= 0) and $::operatingsystem != 'Amazon' {
$additional_packages = ['easy-rsa','openvpn-auth-ldap']
$additional_packages = ['easy-rsa']
$ldap_auth_plugin_package = ['openvpn-auth-ldap']
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also do this for the other OS-variants, for consistency.

@@ -29,11 +29,13 @@
# Redhat/Centos >= 7.0
if(versioncmp($::operatingsystemrelease, '7.0') >= 0) and $::operatingsystem != 'Amazon' {
$additional_packages = ['easy-rsa']
$ldap_auth_plugin_location = undef
$ldap_auth_plugin_package = ['openvpn-auth-ldap']
Copy link
Member

Choose a reason for hiding this comment

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

does it need to be a an array or should we stick with a string? I think string is enough.

@bastelfreak
Copy link
Member

Hi @metallaw , can you please rebase?

@bastelfreak
Copy link
Member

@metallaw the git history looks a bit broken. Can you rebase it again? If you need any assistance feel free to join our IRC channel #voxpupuli on freenode.

jkroepke and others added 7 commits March 20, 2018 23:11
This change ensures that by setting cipher and tls_cipher to blank strings,
they are consistently kept out of the configuration files - as opposed to
invalid configuration being generated where the config keyword is generated
with a blank argument.
@metallaw
Copy link
Author

Rebased - But CI build fails since it expects the package openvpn-ldap-plugin to be installed on Debian
=> is_expected.to contain_package('openvpn-auth-ldap') will need a rework of the openvpn_install_spec.rb

@jsnod
Copy link

jsnod commented May 7, 2018

I need this PR to use LDAP on CentOS 7 because in v7.2.0 of this module server.pp has require => Package['openvpn-auth-ldap'] but the package is not installed for CentOS 7 due to $additional_packages = ['easy-rsa'] (openvpn-auth-ldap is missing). I'm pretty sure this PR will fix it -- any chance of landing this and making a release?

@bastelfreak
Copy link
Member

Hi people. this branch looks pretty broken and inactive. I'm going to close it due to inactivity. Please reopen or resubmit it if you're still interested.

@bastelfreak bastelfreak closed this Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants