Forge Home

osx_management

Module for common OS X Management Tasks

11,046 downloads

10,661 latest version

1.6 quality score

Version information

  • 0.2.1 (latest)
  • 0.1.0
released Sep 12th 2012

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'glarizza-osx_management', '0.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add glarizza-osx_management
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install glarizza-osx_management --version 0.2.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

glarizza/osx_management — version 0.2.1 Sep 12th 2012

##osx_management

This is a module with example manifests for managing OS X Machines. We've compiled a list of the manifests we use for demoing Puppet and MCollective with OS X

License

Apache 2.0

Contact

Chris Barker cbarker@puppetlabs.com Gary Larizza gary@puppetlabs.com

Manifests

##add_admin_user

Creates a user that will eventually be an Admin. The manifest DOES NOT add them to the admin or staff group, just creates a user.

##add_local_user

Essentially, the same thing as add_admin_user - creates a local user.

##firefox

Demonstrates ensuring a package with the appdmg provider...in this case, Firefox

##install_printers

Uses the http://forge.puppetlabs.com/mosen/cups module to create printers on a machine.

##macauth_*

These classes demonstrate using the macauthorization built-in Puppet type to set values in /etc/authorization

##mcollective

This class installs the MCollective Package (must provide this, or the URL to this) and sets up server.cfg. It will also drop an /etc/mcollective/facts.yaml file based on variables in scope (which can be commented out if need be).

##mcollective_plugins

This class drops in a couple of extra plugins that we created for Mactech and Macsysadmin (munki and printer agents). You must get those agents from https://github.com/glarizza/Custom-Agents and put them in the files/plugins/agent directory

##munki_install

This class will install the munkitools package from munki.googlecode.com and set plist values in /Library/Preferences/ManagedInstalls.plist using the glarizza-property_list_key module from the Puppet Forge (http://forge.puppetlabs.com/glarizza/property_list_key)

##munki_repo

This class will clone a previously-created Munki repository to /opt/munki. We use our internal Puppet Labs repo, so ensure that you change the source parameter and replace it with your VCS repository URL

Facter Fact - munki_version

This facter fact will execute '/usr/local/munki/managedsoftwareupdate --version' and return the version to Facter.