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

Remove openvpn::deploy #424

Merged
merged 1 commit into from
Mar 23, 2022
Merged

Conversation

jkroepke
Copy link
Contributor

@jkroepke jkroepke commented Mar 8, 2022

Pull Request (PR) description

Remove openvpn::deploy from this module.

The openvpn::deploy classes + facts introduced in (#261). The facts has a lot of outstanding issue in the history of this module.

The fact based approach has multiple issues:

The first 2 issues should be a clear statement that returning to the fact based approch is not a option. Each default setup on puppet 7.10 and higher will emit a warning, if this module is in use.

A proposal to replace facts by deferred functions (#410) also never works

I'm strongly recommend, if this functionality is needed to use a dedicated modules for this.

Example (but outdated):

Major issue that I see: Even I'm not using the openvpn::deploy classes, the facts containing the private keys and published to puppetdb are NOT toggleable. If Foreman is used in the setup, all the private keys are exposed to the user base of Foreman.

By separate the logic into a dedicated puppet module, no sensitive facts are generated by default.

In general, use a Hashicorp Vault to exchange private keys in your setup, instead abuse puppet for it.

This Pull Request (PR) fixes the following issues

Fixes #352
Fixes #421

@jkroepke jkroepke marked this pull request as ready for review March 8, 2022 09:05
@jkroepke
Copy link
Contributor Author

Any opinion here?

@root-expert

Copy link
Member

@root-expert root-expert left a comment

Choose a reason for hiding this comment

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

+1 from me, but i'll leave it open to get some more eyes on it.

I also believe that puppet shouldn't be abused to distribute private keys.

@root-expert root-expert self-assigned this Mar 13, 2022
@jkroepke
Copy link
Contributor Author

@root-expert They are more eyes availible? 😄

@bastelfreak bastelfreak merged commit daba221 into voxpupuli:master Mar 23, 2022
@jkroepke jkroepke deleted the remove-deploy branch March 23, 2022 13:23
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.

Client configurations with the new Deferred function aren't working openvpn facts not generated on server
3 participants