puppet-openvpn
puppet-openvpn copied to clipboard
Easyrsa version range
Pull Request (PR) description
This pull request addresses 3 problems:
- Since easy-rsa version 3.0.3 the name of the easy-rsa configuration file did change from "openssl-1.0.cnf" to "openssl-easyrsa.cnf" The following is a link to the corresponding commit: https://github.com/OpenVPN/easy-rsa/commit/e8cd6c980742bb86c34286e655346778275cc36d. To tackle that problem I would like to introduce easy-rsa version ranges and change the file name if a version above 3.0.3 is used.
- I did also run into a problem with the "./easy-rsa build-server-full" command which opened an input prompt, which could be suppressed using the "--batch" option
- The whole openssl output with text gets copied to the client configuration file. I've added a exec resource which runs the "openssl" command with the "-noout" option to suppress the unnecessary text output.
@bastelfreak Could we get a review please? Thanks :)
@fraenki I cannot merge this with the failing jobs. Can you pick up https://github.com/voxpupuli/puppet-openvpn/pull/441? We need to get the latest modulesync in, afterwards we can drop the EoL operating systems, that should get the pipeline green again. I currently don't have the time to work on it.
@jan-win1993 Could you please have a look at this? Rebase on master branch, merge #441 and apply the suggested change. Thanks :)
I think this is useless with the actual master. Link is disabled and file name changed to the new one.