Using chef to manage your OS X server environments?


#1

Folks,

I know that chef supports OS X, at least to a degree (cf. http://wiki.opscode.com/display/chef/Installing+Chef+Client+on+OS+X and http://wiki.opscode.com/display/chef/Workstation+Setup+for+Mac+OS+X). However, I’m wondering how many people out there have an installed base of OS X clients (and servers) and are using chef to help manage those assets? Anyone doing that for both OS X and some flavour of Linux as well?

Thanks!


Brad Knowles brad@shub-internet.org
LinkedIn Profile: http://tinyurl.com/y8kpxu


#2

I wrote last year two posts about how I manage my Macs with Chef.

I have a few updates to make at some point but it’s not all finished. You may be interested in what Ben Bleything has done here:

Or what Pivotal Labs has:

These are workstation examples, obviously but there is applicable work for cross platform use of course. Opscode has also updated a few cookbooks to support OSX, MySQL, git, build-essential for example.


Joshua Timberman
Sent from a mobile device

On Friday, June 29, 2012 at 18:20, Brad Knowles wrote:

Folks,

I know that chef supports OS X, at least to a degree (cf. http://wiki.opscode.com/display/chef/Installing+Chef+Client+on+OS+X and http://wiki.opscode.com/display/chef/Workstation+Setup+for+Mac+OS+X). However, I’m wondering how many people out there have an installed base of OS X clients (and servers) and are using chef to help manage those assets? Anyone doing that for both OS X and some flavour of Linux as well?

Thanks!


Brad Knowles brad@shub-internet.org
LinkedIn Profile: http://tinyurl.com/y8kpxu


#3

On 30 June 2012 09:33, Joshua Timberman joshua@opscode.com wrote:

I wrote last year two posts about how I manage my Macs with Chef.

http://jtimberman.housepub.org/blog/2011/04/03/managing-my-workstations-with-chef/
*
http://jtimberman.housepub.org/blog/2011/09/04/update-to-managing-my-workstations/

I have a few updates to make at some point but it’s not all finished. You
may be interested in what Ben Bleything has done here:

Or what Pivotal Labs has:

These are workstation examples, obviously but there is applicable work for
cross platform use of course. Opscode has also updated a few cookbooks to
support OSX, MySQL, git, build-essential for example.

I can add to that some work I recently did, with pending pull requests:

COOK-1379 http://tickets.opscode.com/browse/COOK-1379 - Register
chef-client as launchd service on Mac OS X (Server)

Due to the above, I found a bug in the Mac OS X service provider:

CHEF-3237 http://tickets.opscode.com/browse/CHEF-3237 - Expanding
"~/Library/LaunchAgents" fails resolving HOME when running chef-client as
root

Cheers,

Ringo