Ask Your Question
1

Manage VPN configuration and connections

asked 2013-09-12 16:38:22 -0500

nerratt gravatar image

Is there any way to manage the configuration and connection status of a VPN client (Windows XP/7 machines) with puppet?

We've got a number of remote machines that we would like to ensure remain connected to our VPN.

edit retag flag offensive close merge delete

Comments

Are you using the VPN to connect to the puppet server?

ethrbunny gravatar imageethrbunny ( 2013-09-13 12:58:17 -0500 )edit

Not currently no. I think the initial plan was to leave the puppet server exposed. We mostly only need the VPN for remote desktop connections. This might not be a ...(more)

nerratt gravatar imagenerratt ( 2013-09-13 13:17:41 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-09-13 23:51:25 -0500

GregLarkin gravatar image

If you have some scripts to check VPN connection status and reconnect if necessary, you can wrap them in a Puppet exec resource (perhaps coupled with an onlyif check) and do it that way.

Here's an example of an exec resource that runs when certain conditions are met: http://www.puppetcookbook.com/posts/exec-onlyif.html

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-09-12 16:38:22 -0500

Seen: 315 times

Last updated: Sep 13 '13