Vagrant: Symlink public folder to /var/www/html/icinga2-web

refs #4314
This commit is contained in:
Eric Lippmann 2013-06-26 10:56:13 +02:00
parent b585d7702e
commit 5419b3a797
2 changed files with 6 additions and 1 deletions

View File

@ -326,3 +326,8 @@ cmmi { 'icinga2':
require => Package['boost-devel'], require => Package['boost-devel'],
timeout => 600 timeout => 600
} }
file { 'icinga2-web-public':
ensure => '/vagrant/public',
path => '/var/www/html/icinga2-web'
}

2
Vagrantfile vendored
View File

@ -47,7 +47,7 @@ Vagrant::Config.run do |config|
# Share an additional folder to the guest VM. The first argument is # 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 # 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. # 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 # Enable provisioning with Puppet stand alone. Puppet manifests
# are contained in a directory path relative to this Vagrantfile. # are contained in a directory path relative to this Vagrantfile.