/dev/hwrng on s390x appeared with buster but is not functional
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 5 Apr 2019 20:22:54 +0000 (22:22 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 5 Apr 2019 20:25:08 +0000 (22:25 +0200)
modules/rng_tools/manifests/init.pp

index 9981fe1..d2c8dac 100644 (file)
@@ -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
                }