OpenVPN / puppet-openvpnas

Puppet module for managing the OpenVPN Access Server
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

Allow config and userprop resources to be passed via the main class #3

Closed TiagoTT closed 5 months ago

TiagoTT commented 6 months ago

This is useful when used in conjunction with Hiera automatic binding parameters, in which case the config and userprop can be defined in YAML files and the module just has to be included to expose all functionality.

The data structures expected in Hiera are exactly the same as exported with commands:

puppet resource openvpnas_config --to_yaml
puppet resource openvpnas_userprop --to_yaml
TiagoTT commented 6 months ago

Sorry, this is not ready for review yet, converting to draft.

TiagoTT commented 5 months ago

This PR is now ready for review.

sahaqaa commented 5 months ago

Hello, i will take a look