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
}