diff options
Diffstat (limited to 'examples/mac_dscl.pp')
| -rwxr-xr-x | examples/mac_dscl.pp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/mac_dscl.pp b/examples/mac_dscl.pp new file mode 100755 index 000000000..ff59f9d8d --- /dev/null +++ b/examples/mac_dscl.pp @@ -0,0 +1,28 @@ +#!/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 => present, + password => "foobar", + shell => "/bin/bash", + uid => 551; +} + +group { + "testgone": + ensure => absent, + gid => 550; + "testhere": + ensure => present, + gid => 551; + +}
\ No newline at end of file |
