diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-01 22:50:42 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-01 22:50:42 +0000 |
commit | 362e01883e09889065724c5ed5c551c462b9fd80 (patch) | |
tree | 8615a6f9fac5034adab692dde7271d4b4ff78744 /manifests/common.pp | |
parent | 56ab1fc8e49cd3f0385b9d1417b7ae9a1768f3dd (diff) | |
download | puppet-362e01883e09889065724c5ed5c551c462b9fd80.tar puppet-362e01883e09889065724c5ed5c551c462b9fd80.tar.gz puppet-362e01883e09889065724c5ed5c551c462b9fd80.tar.bz2 puppet-362e01883e09889065724c5ed5c551c462b9fd80.tar.xz puppet-362e01883e09889065724c5ed5c551c462b9fd80.zip |
- setup a cronjob for urpmi_update ( your wish is my command, blino )
Diffstat (limited to 'manifests/common.pp')
-rw-r--r-- | manifests/common.pp | 14 |
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 { |