Copyright 2015, Simon Fraser University.
A comprehensive collection of Puppet classes and types for managing OS X.
This is a giant Puppet module. It abstracts all the things. It won't win any awards for being small and portable and pretty, because it does A LOT OF STUFF.
Some of this stuff is very useful, a lot of it is new, all of it is IN ONE PLACE.
This module was designed to be a world-engine for OS X.
You fuel it with Hiera data.
By itself, it does nothing, but...
Once, you've installed the components and created a configuration file, you have everything you need to begin terraforming.
Example:
--
managedmac::organization: My Organization # identify yourself
managedmac::ntp::enable: true # turn on the ntp client
managedmac::ntp::servers: # use a list of ntp servers
- time.apple.com
- time1.google.com
managedmac::filevault::enable: true # turn on FDE
managedmac::filevault::use_recovery_key: true # use a recovery key
managedmac::filevault::show_recovery_key: true # show the user the key
managedmac::mobileconfigs::payloads: # manage the dock, but why?
'managedmac.dock.alacarte':
content:
largesize: 128
orientation: left
tilesize: 128
autohide: true
PayloadType: 'com.apple.dock'
displayname: 'Managed Mac: Dock Settings'
For more information about the zillions of options available, see files/sample.yaml.
Good question. Here are 1700 lines of heavily commented YAML you can peruse to get an idea!
It should give you good overview of what the module can do.
There are a number of classes included in this module; each one groups a specific set of configuration options.
Documentation on classes is available on the Github project page.
There are a few custom types used in this module. Naturally, once you have installed the module, these types will be available to use in your own Puppet code if you don't fancy using any of the builtin classes.
Documentation on custom types and providers is available on the Github project page.
For more docs, tutorials, and how-tos, see the project page on Github.