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

Deferred lookups of public and private keys #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Deferred lookups of public and private keys #6

wants to merge 1 commit into from

Conversation

BnMcG
Copy link

@BnMcG BnMcG commented Apr 17, 2019

This PR allows deferred lookups of public and private key values using the new Puppet 6.x deferred functions. This allows these values to be looked up by the agent from a secrets store (eg: Hashicorp Vault).

This current implementation bumps the minimum required Puppet version up to 6.x to support deferred functions, but perhaps somebody with more Puppet experience can change this.

…f public and private key values. Minimum requirement of Puppet 6
Integer[1,65535] $listen_port,
Enum['present','absent'] $ensure = 'present',
Variant[Array,String] $address,
Variant[String, Deferred] $private_key,
Copy link
Contributor

Choose a reason for hiding this comment

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

This would drop support for all Puppet version > 6 because the Type "Deferred" isn't known by Puppet 4/5.

I've implemented this without knowing someone else already did it. I think I found solution which supports Puppet 4/5/6.

bastelfreak added a commit to bastelfreak/puppet-wireguard that referenced this pull request Jul 26, 2021
switch from camptocamp/systemd to voxpupuli/systemd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants