puppet: Use the icingweb.conf template

refs #6842
This commit is contained in:
Eric Lippmann 2014-12-15 10:51:59 +01:00
parent efa790923a
commit 4ea178edeb
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
class icingaweb2_dev (
$config = hiera('icingaweb2::config'),
$log = hiera('icingaweb2::log'),
$web_path = hiera('icingaweb2::web_path'),
$db_user = hiera('icingaweb2::db_user'),
$db_pass = hiera('icingaweb2::db_pass'),
$db_name = hiera('icingaweb2::db_name'),
@ -77,7 +79,7 @@ class icingaweb2_dev (
}
file { '/etc/httpd/conf.d/icingaweb.conf':
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/httpd/conf.d/icingaweb.conf',
content => template("$name/icingaweb.conf.erb"),
notify => Service['apache'],
}