aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/common.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/common.pp')
-rw-r--r--manifests/common.pp14
1 files changed, 11 insertions, 3 deletions
diff --git a/manifests/common.pp b/manifests/common.pp
index 441dfdb3..cb5bbb1a 100644
--- a/manifests/common.pp
+++ b/manifests/common.pp
@@ -62,6 +62,16 @@ class default_ssh_root_key {
}
+class urpmi_update {
+ cron { urpmi_update:
+ user => root,
+ hour => 3,
+ minute => 14,
+ command => "urpmi.update -a",
+ }
+
+}
+
class default_mageia_server {
include timezone
@@ -72,9 +82,7 @@ class default_mageia_server {
include base_packages
include ntp
include postfix::simple_relay
-
-# TODO:
-# - run urpmi.update -a in a cron job
+ include urpmi_update
}
class default_mageia_buildnode {