From c1f82290231fbb6a2e5985faa89e8fe46b4201d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sch=C3=BCtte?= Date: Wed, 20 Aug 2014 18:18:56 +0200 Subject: [PATCH] install ntpd --- manifests/sysadmin.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/manifests/sysadmin.pp b/manifests/sysadmin.pp index 5ac7be0..b5f3d9f 100644 --- a/manifests/sysadmin.pp +++ b/manifests/sysadmin.pp @@ -12,12 +12,22 @@ class ff_gw::sysadmin($zabbixserver = '127.0.0.1', $muninserver = '127.0.0.1', $ # next important thing: set up apt repositories class { 'ff_gw::sysadmin::software': } + # remove cronjob cron { 'ntpdate-debian': + ensure => absent, command => '/usr/sbin/ntpdate-debian', user => root, minute => '0'; } + # replace with a real NTP daemon + package { 'ntp': + ensure => present, + } + ~> + service { 'ntp': + ensure => true, + } # user accounts create_resources('account', $accounts)