summaryrefslogtreecommitdiffstats
path: root/examples/mac_dscl_revert.pp
blob: 7c348b33b0f4312998a655ed56411e5b17e6a4bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env puppet --debug --verbose --trace
#
# Jeff McCune: I use this for developing and testing the directory service
#              provider.

User  { provider => "directoryservice" }
Group { provider => "directoryservice" }

user {
    "testgone":
        ensure => absent,
        uid => 550;
    "testhere":
        ensure => absent,
        uid => 551;
}

group {
    "testgone":
        ensure => absent,
        gid => 550;
    "testhere":
        ensure => absent,
        gid => 551;

}