aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests/init.pp')
-rw-r--r--modules/buildsystem/manifests/init.pp16
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",
+ }
+ }
}