summaryrefslogtreecommitdiffstats
path: root/modules/base/manifests/operatingsystem.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/manifests/operatingsystem.pp')
-rw-r--r--modules/base/manifests/operatingsystem.pp11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/base/manifests/operatingsystem.pp b/modules/base/manifests/operatingsystem.pp
index 4a65015..4229fcc 100644
--- a/modules/base/manifests/operatingsystem.pp
+++ b/modules/base/manifests/operatingsystem.pp
@@ -1,6 +1,4 @@
class base::operatingsystem {
- include cron
-
file {
"/etc/locale.gen":
content => "en_US.UTF-8 UTF-8\n",
@@ -18,10 +16,11 @@ class base::operatingsystem {
content => template('base/hosts');
'/etc/yaourtrc':
source => 'puppet:///modules/base/yaourtrc';
- '/etc/cron.hourly/pacman':
- source => 'puppet:///modules/base/pacman-cron',
- mode => '0755',
- require => Class['cron'];
+ }
+
+ cron::job { "pacman":
+ frequency => "hourly",
+ source => 'puppet:///modules/base/pacman-cron';
}
exec { "regen locale data":