diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-09-21 20:44:52 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-09-21 20:44:52 +0000 |
commit | 35aab110043174a6e79bc6550db1bbf4a1a05363 (patch) | |
tree | 48bdc5266a9ef3244f3f7f7f0e5aaa7bf15012b5 /modules | |
parent | c9115a4414ee695fbad2cef42dd9c62f82211915 (diff) | |
download | puppet-35aab110043174a6e79bc6550db1bbf4a1a05363.tar puppet-35aab110043174a6e79bc6550db1bbf4a1a05363.tar.gz puppet-35aab110043174a6e79bc6550db1bbf4a1a05363.tar.bz2 puppet-35aab110043174a6e79bc6550db1bbf4a1a05363.tar.xz puppet-35aab110043174a6e79bc6550db1bbf4a1a05363.zip |
make list of unmaintained packages
Diffstat (limited to 'modules')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 0837b548..f7c0a287 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -162,6 +162,7 @@ class buildsystem { $maintdb_binpath = "/usr/local/sbin/maintdb" $maintdb_wrappath = "/usr/local/bin/wrapper.maintdb" $maintdb_dump = "/var/www/bs/data/maintdb.txt" + $maintdb_unmaintained = "/var/www/bs/data/unmaintained.txt" user {"$maintdb_login": ensure => present, @@ -208,7 +209,7 @@ class buildsystem { cron { "update maintdb export": user => $maintdb_login, - command => "$maintdb_binpath root get > $maintdb_dump", + command => "$maintdb_binpath root get > $maintdb_dump; cat $maintdb_dump | grep ' nobody\$' > $maintdb_unmaintained", minute => "*/30", require => User[$maintdb_login], } |