summaryrefslogtreecommitdiffstats
path: root/examples/code/mac_pkgdmg.pp
diff options
context:
space:
mode:
authormccune <mccune@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-03 20:36:49 +0000
committermccune <mccune@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-03 20:36:49 +0000
commit5a5d2411265443a9331179c9410271e51b9d98f7 (patch)
treeca1a360b85943488d5744a35679bd7539e234407 /examples/code/mac_pkgdmg.pp
parent08d89455aa848f95fcfa4ae35451c0a86563401d (diff)
downloadpuppet-5a5d2411265443a9331179c9410271e51b9d98f7.tar.gz
puppet-5a5d2411265443a9331179c9410271e51b9d98f7.tar.xz
puppet-5a5d2411265443a9331179c9410271e51b9d98f7.zip
DirectoryService provider for users and groups. Alternative to netinfo, as apple has indicated NetInfo may go away at some point in the future. It might happen in October.
FIXME: implement groups and groups= instances methods for Puppet::Type::User::ProviderDirectoryservice git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2739 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'examples/code/mac_pkgdmg.pp')
-rwxr-xr-xexamples/code/mac_pkgdmg.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/code/mac_pkgdmg.pp b/examples/code/mac_pkgdmg.pp
new file mode 100755
index 000000000..a2499e815
--- /dev/null
+++ b/examples/code/mac_pkgdmg.pp
@@ -0,0 +1,7 @@
+#!/usr/bin/env puppet
+#
+
+package
+{
+ "Foobar.pkg.dmg": ensure => present, provider => pkgdmg;
+}