From 5419b3a797de4934878b9f59d71ff27b215cdd70 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 26 Jun 2013 10:56:13 +0200 Subject: [PATCH] Vagrant: Symlink public folder to /var/www/html/icinga2-web refs #4314 --- .vagrant-puppet/manifests/default.pp | 5 +++++ Vagrantfile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.vagrant-puppet/manifests/default.pp b/.vagrant-puppet/manifests/default.pp index 4ca66ecfd..a4559eef6 100644 --- a/.vagrant-puppet/manifests/default.pp +++ b/.vagrant-puppet/manifests/default.pp @@ -326,3 +326,8 @@ cmmi { 'icinga2': require => Package['boost-devel'], timeout => 600 } + +file { 'icinga2-web-public': + ensure => '/vagrant/public', + path => '/var/www/html/icinga2-web' +} diff --git a/Vagrantfile b/Vagrantfile index cd7b1d929..564aa4c53 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -47,7 +47,7 @@ Vagrant::Config.run do |config| # Share an additional folder to the guest VM. The first argument is # an identifier, the second is the path on the guest to mount the # folder, and the third is the path on the host to the actual folder. - config.vm.share_folder "v-icinga2-web-pub", "/var/www/html/icinga2-web", "./pub" + # # config.vm.share_folder "v-icinga2-web-pub", "/var/www/html/icinga2-web", "./pub" # Enable provisioning with Puppet stand alone. Puppet manifests # are contained in a directory path relative to this Vagrantfile.