From: Peter Palfrader Date: Fri, 3 Feb 2012 18:58:03 +0000 (+0100) Subject: install fake-hwclock on broken-rtc machines X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e5e7f78687d7435c292dd67d05d97432af514fba;p=mirror%2Fdsa-puppet.git install fake-hwclock on broken-rtc machines --- 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: {