From e5e7f78687d7435c292dd67d05d97432af514fba Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 3 Feb 2012 19:58:03 +0100 Subject: [PATCH] install fake-hwclock on broken-rtc machines --- modules/debian-org/manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 3d015cf45..7d4bf5c38 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -57,6 +57,13 @@ class debian-org { "rsyslog": ensure => purged; "sysklogd": ensure => purged; } + case getfromhash($nodeinfo, 'broken-rtc') { + true: { + package { + fake-hwclock: ensure => installed; + } + } + } case $debarchitecture { "armhf": {} default: { -- 2.20.1