diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-03-06 23:59:40 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-03-06 23:59:40 +0000 |
commit | 34db0cce099b2e4f2968866bf3ea8d3896afc98e (patch) | |
tree | 06c056ece0a80010bf2b562fd8dc4e7d0db1e158 /modules | |
parent | dcbb0cd3f3d7a0be6387d1fb216c76d998faa63e (diff) | |
download | puppet-34db0cce099b2e4f2968866bf3ea8d3896afc98e.tar puppet-34db0cce099b2e4f2968866bf3ea8d3896afc98e.tar.gz puppet-34db0cce099b2e4f2968866bf3ea8d3896afc98e.tar.bz2 puppet-34db0cce099b2e4f2968866bf3ea8d3896afc98e.tar.xz puppet-34db0cce099b2e4f2968866bf3ea8d3896afc98e.zip |
drop missing-deps
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/buildsystem/files/missing-deps.sh | 26 | ||||
-rw-r--r-- | modules/buildsystem/manifests/check_missing_deps.pp | 15 | ||||
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 1 |
3 files changed, 0 insertions, 42 deletions
diff --git a/modules/buildsystem/files/missing-deps.sh b/modules/buildsystem/files/missing-deps.sh deleted file mode 100755 index fade8d51..00000000 --- a/modules/buildsystem/files/missing-deps.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# Copyright 2011, Pascal Terjan <pterjan@gmail.com> -# -# This program is free software. It comes without any warranty, to -# the extent permitted by applicable law. You can redistribute it -# and/or modify it under the terms of the Do What The Fuck You Want -# To Public License, Version 2, as published by Sam Hocevar. See -# http://sam.zoy.org/wtfpl/COPYING for more details. -# -# Creates missing-deps.$arch.txt for each arch, listing broken -# dependencies inside the associated media. - -repo="/distrib/bootstrap/distrib/cauldron" - -missing() { - arch=$1 - d="${repo}/${arch}" - urpmf --requires --use-distrib $d : | cut -d: -f2- | sed 's/\[.*//' | sort -u | xargs urpmq -p --use-distrib $d 2>&1 >/dev/null | sed -n 's/No package named //p' -} - -for arch in i586 x86_64 -do - missing $arch > missing-deps.$arch.txt.new - mv -f missing-deps.$arch.txt.new missing-deps.$arch.txt -done diff --git a/modules/buildsystem/manifests/check_missing_deps.pp b/modules/buildsystem/manifests/check_missing_deps.pp deleted file mode 100644 index 9ddf2a27..00000000 --- a/modules/buildsystem/manifests/check_missing_deps.pp +++ /dev/null @@ -1,15 +0,0 @@ -class buildsystem { - class check_missing_deps { - file { "/usr/local/bin/missing-deps.sh": - mode => 755, - source => "puppet:///modules/buildsystem/missing-deps.sh", - } - - # FIXME hardcoded path - cron { "check missing deps": - command => "cd /var/www/bs/data && /usr/local/bin/missing-deps.sh", - minute => "*/15", - } - } -} - diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 88e5e0f9..ef8f84a7 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -75,7 +75,6 @@ class buildsystem { include buildsystem::mgarepo include buildsystem::signbot include youri_submit - include buildsystem::check_missing_deps cron { "dispatch jobs": user => $sched_login, |