blob: 2f33a94dfc6b9de0d2fb046a2a752e39e7af70ad (
plain)
1
2
3
4
5
6
|
test_name "tests that user resource will not add users that already exist."
step "verify that we don't try to create a user account that already exists"
on(agents, puppet_resource('user', 'root', 'ensure=present')) do
fail_test "tried to create 'root' user" if stdout.include? 'created'
end
|