elifesciences/elife-vagrant — pull request #12 by rivimey (2013-12-04 15:44:42+00:00)
Title: Openvpnc config cleanup

This request adds in a config item at the top of the vagrantfile which enables/disables openvpn, and some checks to warn the user if they do not have the appropriate files in the 'public' folder to enable a provision to work. If it is found that some files are missing, the user is prompted on whether to abort the command. Any answer other than 'no' or 'No' (after whitespace-stripping) will be interpreted as abort.

The Config item itself is passed into the chef recipe as node/elifejnl/setup_vpn_client so the drupal-site-jnl-elife default recipe can call the openvpnc setup if needed.

Hopefully this is moving towards vagrant being more user-friendly. We may be able to extend the principle of the ELIFE_CONFIGURE options to include other similar variations.