puppet-openvpn icon indicating copy to clipboard operation
puppet-openvpn copied to clipboard

Easyrsa version range

Open jan-win1993 opened this issue 1 year ago • 2 comments
trafficstars

Pull Request (PR) description

This pull request addresses 3 problems:

  1. 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.
  2. 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
  3. 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.

jan-win1993 avatar Jan 08 '24 17:01 jan-win1993

@bastelfreak Could we get a review please? Thanks :)

fraenki avatar Jun 25 '24 09:06 fraenki

@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.

bastelfreak avatar Jun 25 '24 19:06 bastelfreak

@jan-win1993 Could you please have a look at this? Rebase on master branch, merge #441 and apply the suggested change. Thanks :)

fraenki avatar Apr 16 '25 15:04 fraenki

I think this is useless with the actual master. Link is disabled and file name changed to the new one.

Valantin avatar May 02 '25 13:05 Valantin