Hello,
I have a question about using puppet to distribute openvpn configs to clients that I am creating in cloudstack.
To create my cloudstack VMs, I have something similar to this:
cloudstack_instance { 'myVM:
ensure => 'present',
flavor => 'Small Instance',
zone => 'myzone',
image => 'myimage',
user_data => 'role=ovpnclient',
}
What is the right pattern to follow to distribute my generated client openvpn configs to these instances? It seems like the luxflux openvpn module just generates the config. Should I just put them into a modules file folder, and then use puppet as a file server to push the file based on a role?
Has anyone else use puppet to distribute and start openvpn for client connections? I'd be interested in hearing what you did.
Thanks
-Derek