diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:04:36 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:04:36 +0000 |
commit | 1b6e483cfd7f944dab39a074d3a7a30f82ae5e8c (patch) | |
tree | 473e9877b8540caf081603b6dcce3f63afb59ffc /modules/buildsystem/manifests/maintdb.pp | |
parent | ab1083a49a06c482007572f7334c450c97d51e14 (diff) | |
download | puppet-1b6e483cfd7f944dab39a074d3a7a30f82ae5e8c.tar puppet-1b6e483cfd7f944dab39a074d3a7a30f82ae5e8c.tar.gz puppet-1b6e483cfd7f944dab39a074d3a7a30f82ae5e8c.tar.bz2 puppet-1b6e483cfd7f944dab39a074d3a7a30f82ae5e8c.tar.xz puppet-1b6e483cfd7f944dab39a074d3a7a30f82ae5e8c.zip |
buildsystem::maintdb: use webstatus location variable
Diffstat (limited to 'modules/buildsystem/manifests/maintdb.pp')
-rw-r--r-- | modules/buildsystem/manifests/maintdb.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/maintdb.pp b/modules/buildsystem/manifests/maintdb.pp index 7935e856..f2765a40 100644 --- a/modules/buildsystem/manifests/maintdb.pp +++ b/modules/buildsystem/manifests/maintdb.pp @@ -1,12 +1,13 @@ class buildsystem::maintdb { include buildsystem::var::groups + include buildsystem::var::webstatus include sudo $login = 'maintdb' $homedir = '/var/lib/maintdb' $dbdir = "$homedir/db" $binpath = '/usr/local/sbin/maintdb' - $dump = '/var/www/bs/data/maintdb.txt' - $unmaintained = '/var/www/bs/data/unmaintained.txt' + $dump = "${buildsystem::var::webstatus::location}/data/maintdb.txt" + $unmaintained = "${buildsystem::var::webstatus::location}/data/unmaintained.txt" user { $login: comment => 'Maintainers database', @@ -37,8 +38,7 @@ class buildsystem::maintdb { file { [$dump,"$dump.new", $unmaintained,"$unmaintained.new"]: owner => $login, -# TODO uncomment once the situation with pkgsubmit module is cleared ( ie, maintdb depend on it ) -# require => File['/var/www/bs/data'], + require => File["${buildsystem::var::webstatus::location}/data"], } cron { 'update maintdb export': |