From c28e7f079746fb4792f540fcadd958994c5e7966 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 7 Feb 2010 16:54:14 -0200 Subject: Using $apache_server_name for default nodo vhost --- manifests/init.pp | 5 +++++ manifests/websites.pp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 8618042..c9e7130 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -404,4 +404,9 @@ class nodo::master { compress => true, sqldump => true, } + + # used for trac dependency graphs + package { "graphviz": + ensure => present, + } } diff --git a/manifests/websites.pp b/manifests/websites.pp index ff2b1db..cf6f288 100644 --- a/manifests/websites.pp +++ b/manifests/websites.pp @@ -46,7 +46,7 @@ class websites::setup { } # Default vhost: can just be applied on the defining host - apache::site { "$hostname": + apache::site { "$apache_server_name": server_alias => "$domain", docroot => "${apache_www_folder}", } -- cgit v1.2.3