Skip to content

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