1 2 3 4 5 6 7 8 9 10 11 12
class { 'testusers': user => 'fakeuser' } if $::operatingsystem != 'windows' { exec { "Ensure sudoers.d is enabled": command => "/bin/true", refreshonly => true } } selftest::expect_no_warnings { 'no warnings from testusers': }