summaryrefslogtreecommitdiffstats
path: root/puppet/modules/testusers/tests/init.pp
blob: 15582ee3aacdff4e4cc52a61282e9423639be3d9 (plain)
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': }