I've been looking all over for usage examples for CFPropertyList.  I'm 
trying to make a test manifest to create a simple plist and it keeps saying 
that it can't find class CFPropertyList. I downloaded the zip 
from https://github.com/ckruse/CFPropertyList/ and unzipped it into 
/etc/puppet/modules/CFPropertyList.  What am I doing wrong?

Here's my example:

class osx_management::testplist { 

require 'CFPropertyList' 

cfpropertylist { 'clientidentifier': 
ensure => present, 
path => '/Library/Preferences/ManagedInstallsTest.plist', 
key => 'ClientIdentifier', 
value => '$::sp_serial_number', 
} 

cfpropertylist { 'installapplesoftwareupdates': 
ensure => present, 
path => '/Library/Preferences/ManagedInstallsTest.plist', 
key => 'InstallAppleSoftwareUpdates', 
value => true, 
} 

cfpropertylist { 'softwarerepourl': 
ensure => present, 
path => '/Library/Preferences/ManagedInstallsTest.plist', 
key => 'SoftwareRepoURL', 
value => 'http://munkiserver1.orchard.fruit.com/munki_repo', 
} 
}


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/02e54492-61eb-4b3d-9f08-d33b48601fb0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to