diff options
author | Michael Scherer <misc@mageia.org> | 2011-01-20 15:55:48 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-01-20 15:55:48 +0000 |
commit | 4704b7860db3a18c3c3828a632f86c537ec5d9e0 (patch) | |
tree | 589001d4349347c251349b8614e9a308d117df13 /modules/buildsystem/manifests/init.pp | |
parent | 531483a88af183ac05c19fc01b2890bc2d8e3f64 (diff) | |
download | puppet-4704b7860db3a18c3c3828a632f86c537ec5d9e0.tar puppet-4704b7860db3a18c3c3828a632f86c537ec5d9e0.tar.gz puppet-4704b7860db3a18c3c3828a632f86c537ec5d9e0.tar.bz2 puppet-4704b7860db3a18c3c3828a632f86c537ec5d9e0.tar.xz puppet-4704b7860db3a18c3c3828a632f86c537ec5d9e0.zip |
add script made by pascal to check packages that have missing deps ( temporary, quick and dirty )
Diffstat (limited to 'modules/buildsystem/manifests/init.pp')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 16 |
1 files changed, 16 insertions, 0 deletions
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", + } + } } |