Vagrant: Fix permission issues, start icinga2.

This commit is contained in:
Michael Friedrich 2013-10-13 21:52:47 +02:00
parent e747dacecc
commit 11b71774b4
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
#!/bin/bash #!/bin/bash
# for some reason puppet does not start icinga2
/sbin/service icinga2 start
# fix faulty file permissions
chown root:apache /etc/icinga/passwd
/sbin/service httpd reload
echo "The Icinga 2 Vagrant VM has finished installing. See http://localhost:8080/ for more details." echo "The Icinga 2 Vagrant VM has finished installing. See http://localhost:8080/ for more details."