diff options
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/maintdb.pp | 2 | ||||
-rw-r--r-- | modules/buildsystem/manifests/var/maintdb.pp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/maintdb.pp b/modules/buildsystem/manifests/maintdb.pp index c9593b56..05f660b1 100644 --- a/modules/buildsystem/manifests/maintdb.pp +++ b/modules/buildsystem/manifests/maintdb.pp @@ -45,7 +45,7 @@ class buildsystem::maintdb { require => User[$buildsystem::var::maintdb::login], } - apache::vhost::base { "maintdb.$::domain": + apache::vhost::base { $buildsystem::var::maintdb::hostname: location => $buildsystem::var::maintdb::dbdir, content => template('buildsystem/maintdb/vhost_maintdb.conf'), } diff --git a/modules/buildsystem/manifests/var/maintdb.pp b/modules/buildsystem/manifests/var/maintdb.pp index cb8466a5..537489af 100644 --- a/modules/buildsystem/manifests/var/maintdb.pp +++ b/modules/buildsystem/manifests/var/maintdb.pp @@ -1,4 +1,5 @@ class buildsystem::var::maintdb( + $hostname = "maintdb.$::domain", $login = 'maintdb', $homedir = '/var/lib/maintdb' ) { |