From: Aurelien Jarno Date: Fri, 5 Apr 2019 20:22:54 +0000 (+0200) Subject: /dev/hwrng on s390x appeared with buster but is not functional X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=95eab19f797ba51c063f207d471763918b7f3e1e;p=mirror%2Fdsa-puppet.git /dev/hwrng on s390x appeared with buster but is not functional --- diff --git a/modules/rng_tools/manifests/init.pp b/modules/rng_tools/manifests/init.pp index 9981fe15c..d2c8dace3 100644 --- a/modules/rng_tools/manifests/init.pp +++ b/modules/rng_tools/manifests/init.pp @@ -1,5 +1,5 @@ class rng_tools { - if $has_dev_hwrng and !($::is_virtual and $::virtual == 'kvm' and (versioncmp($::lsbmajdistrelease, '9') >= 0)) { + if $has_dev_hwrng and !($::is_virtual and $::virtual == 'kvm' and $::debarchitecture == 's390x' and (versioncmp($::lsbmajdistrelease, '9') >= 0)) { package { 'rng-tools': ensure => installed }