~ubuntu-branches/ubuntu/oneiric/puppet/oneiric-security

« back to all changes in this revision

Viewing changes to examples/mac_dscl.pp

  • Committer: Bazaar Package Importer
  • Author(s): Micah Anderson
  • Date: 2008-07-26 15:43:45 UTC
  • mto: (3.1.1 lenny) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20080726154345-1fmgo76b4l72ulvc
ImportĀ upstreamĀ versionĀ 0.24.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env puppet --debug --verbose --trace
 
2
#
 
3
# Jeff McCune: I use this for developing and testing the directory service
 
4
#              provider.
 
5
 
 
6
User  { provider => "directoryservice" }
 
7
Group { provider => "directoryservice" }
 
8
 
 
9
user {
 
10
    "testgone": 
 
11
        ensure => absent,
 
12
        uid => 550;
 
13
    "testhere":
 
14
        ensure => present,
 
15
        password => "foobar",
 
16
        shell => "/bin/bash",
 
17
        uid => 551;
 
18
}
 
19
 
 
20
group {
 
21
    "testgone":
 
22
        ensure => absent,
 
23
        gid => 550;
 
24
    "testhere":
 
25
        ensure => present,
 
26
        gid => 551;
 
27
 
 
28
}
 
 
b'\\ No newline at end of file'