From 4704b7860db3a18c3c3828a632f86c537ec5d9e0 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 20 Jan 2011 15:55:48 +0000 Subject: add script made by pascal to check packages that have missing deps ( temporary, quick and dirty ) --- modules/buildsystem/manifests/init.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'modules/buildsystem/manifests') diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 1ff60d16..e68245cd 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -262,4 +262,20 @@ class buildsystem { content => template("buildsystem/mgacreatehome") } } + + class check_missing_deps { + file { "/usr/local/bin/missing-deps.sh": + ensure => present, + owner => root, + group => root, + mode => 700, + content => "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", + } + } } -- cgit v1.2.1