aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var/maintdb.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:04:40 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:04:40 +0000
commit01daeb6cc82c36842257f6a444a304969324ed67 (patch)
tree13680c92f2b79192975a58904f51c460ac417b03 /modules/buildsystem/manifests/var/maintdb.pp
parent1b6e483cfd7f944dab39a074d3a7a30f82ae5e8c (diff)
downloadpuppet-01daeb6cc82c36842257f6a444a304969324ed67.tar
puppet-01daeb6cc82c36842257f6a444a304969324ed67.tar.gz
puppet-01daeb6cc82c36842257f6a444a304969324ed67.tar.bz2
puppet-01daeb6cc82c36842257f6a444a304969324ed67.tar.xz
puppet-01daeb6cc82c36842257f6a444a304969324ed67.zip
Add buildsystem::var::maintdb
buildsystem::var::maintdb is used to store maintdb configuration.
Diffstat (limited to 'modules/buildsystem/manifests/var/maintdb.pp')
-rw-r--r--modules/buildsystem/manifests/var/maintdb.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/var/maintdb.pp b/modules/buildsystem/manifests/var/maintdb.pp
new file mode 100644
index 00000000..cb8466a5
--- /dev/null
+++ b/modules/buildsystem/manifests/var/maintdb.pp
@@ -0,0 +1,10 @@
+class buildsystem::var::maintdb(
+ $login = 'maintdb',
+ $homedir = '/var/lib/maintdb'
+) {
+ include buildsystem::var::webstatus
+ $dbdir = "$homedir/db"
+ $binpath = '/usr/local/sbin/maintdb'
+ $dump = "${buildsystem::var::webstatus::location}/data/maintdb.txt"
+ $unmaintained = "${buildsystem::var::webstatus::location}/data/unmaintained.txt"
+}