Hmm, have you tried using https://github.com/larsks/puppet-module-cpuinfo ? That sounds like a better option than going down the path of trying to detect all of the virtualisation extensions: AMD-V, Intel VT-x, Via VT, AMD-Vi Intel VT-d...