Description of problem: When we try to use kmod modules, we got the following ~~~ Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Undef at /etc/puppet/modules/kmod/manifests/init.pp:10:6 ... ~~~ We can use the following ~~~ kmod::option { 'kvm_intel': option => 'nested', value => '1', } ~~~ Version-Release number of selected component (if applicable): puppet-kmod-2.2.1-0.20180215234536.ad51300.el7ost.noarch How reproducible: Always Steps to Reproduce: 1. Apply puppet with kmod module Actual results: It succeeds without any failures Expected results: It failes with the described error
Sorry for the lag, I finally took time to look. So the problem is that we don't define this fact anymore and the use of kmod::option calls kmod class which needs this old fact. We need to bump puppet-kmod like Rabi suggested and it would solve your problem.
One of our options is to bump puppet-kmod: https://review.rdoproject.org/r/#/c/24911/ which is a risky option since we can break stable releases in case of a non backward compatible change in the puppet module. Another option is to carry a downstream only patch which removes the check.
*** Bug 1809384 has been marked as a duplicate of this bug. ***
Or just install augeas ...
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2718