diff options
author | elijah <elijah@riseup.net> | 2016-07-21 12:13:24 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-07-21 12:13:24 -0700 |
commit | d6719731dce8ee7e048a16a447a426abcaa44f24 (patch) | |
tree | 0298adb4240f1e255b672c40d3770fa3502016d9 /puppet/modules/openvpn/Vagrantfile | |
parent | 2d6bfce47b3f50d2b058b938ad9b42a7cd2e3142 (diff) |
remove openvpn submodule
Diffstat (limited to 'puppet/modules/openvpn/Vagrantfile')
-rw-r--r-- | puppet/modules/openvpn/Vagrantfile | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/puppet/modules/openvpn/Vagrantfile b/puppet/modules/openvpn/Vagrantfile deleted file mode 100644 index 88875ff8..00000000 --- a/puppet/modules/openvpn/Vagrantfile +++ /dev/null @@ -1,42 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -def server_config(config) - config.vm.provision :puppet, :module_path => '..' do |puppet| - puppet.manifests_path = "vagrant" - puppet.manifest_file = "server.pp" - end -end - -def client_config(config) - config.vm.provision :puppet, :module_path => '..' do |puppet| - puppet.manifests_path = "vagrant" - puppet.manifest_file = "client.pp" - end -end - -Vagrant::Config.run do |config| - - config.vm.define :server_ubuntu do |c| - c.vm.box = 'precise64' - server_config c - c.vm.network :hostonly, '10.255.255.10' - end - - config.vm.define :server_centos do |c| - c.vm.box = 'centos63' - - c.vm.provision :shell, :inline => 'if [ ! -f rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm ]; then wget -q http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm; fi' - c.vm.provision :shell, :inline => 'yum install -y rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm || exit 0' - - server_config c - c.vm.network :hostonly, '10.255.255.11' - end - - config.vm.define :client_ubuntu do |c| - c.vm.box = 'precise64' - client_config c - c.vm.network :hostonly, '10.255.255.20' - end - -end |