dayglojesus / managedmac

Comprehensive Puppet module for OS X.
http://dayglojesus.github.io/managedmac/
Apache License 2.0
62 stars 21 forks source link

managedmac

Copyright 2015, Simon Fraser University.

Overview

A comprehensive collection of Puppet classes and types for managing OS X.


Puppet Version 4.x is not currently supported


Description

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.

Requirements

How does it work?

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.

What can I do with this thing?

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.

Classes

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.

Custom Types

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.

More Documentation

For more docs, tutorials, and how-tos, see the project page on Github.