aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-07-05 17:45:22 +0000
committerNicolas Vigier <boklm@mageia.org>2012-07-05 17:45:22 +0000
commit877b71b395d4af751657946fd875d2ade8b4fe02 (patch)
tree4df2fcac3915298a2f1ed7154faa8e7dd934f294 /modules
parent57fb480dc6cf2c326549691515f5474c30eb989e (diff)
downloadpuppet-877b71b395d4af751657946fd875d2ade8b4fe02.tar
puppet-877b71b395d4af751657946fd875d2ade8b4fe02.tar.gz
puppet-877b71b395d4af751657946fd875d2ade8b4fe02.tar.bz2
puppet-877b71b395d4af751657946fd875d2ade8b4fe02.tar.xz
puppet-877b71b395d4af751657946fd875d2ade8b4fe02.zip
move dispatch jobs cron to scheduler.pp
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/mainnode.pp6
-rw-r--r--modules/buildsystem/manifests/scheduler.pp6
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/buildsystem/manifests/mainnode.pp b/modules/buildsystem/manifests/mainnode.pp
index e795cf80..b894eae9 100644
--- a/modules/buildsystem/manifests/mainnode.pp
+++ b/modules/buildsystem/manifests/mainnode.pp
@@ -22,10 +22,4 @@ class buildsystem::mainnode {
}
buildsystem::media_cfg { ['i586','x86_64']: }
-
- cron { 'dispatch jobs':
- user => $sched_login,
- command => 'ulri; emi',
- minute => '*',
- }
}
diff --git a/modules/buildsystem/manifests/scheduler.pp b/modules/buildsystem/manifests/scheduler.pp
index 68119a29..99ad17fd 100644
--- a/modules/buildsystem/manifests/scheduler.pp
+++ b/modules/buildsystem/manifests/scheduler.pp
@@ -19,4 +19,10 @@ class buildsystem::scheduler {
mode => 0755,
owner => $login,
}
+
+ cron { 'dispatch jobs':
+ user => $login,
+ command => 'ulri; emi',
+ minute => '*',
+ }
}