A Chef cookbook used to provision macOS
Перейти к файлу
Jacob Zaval 9bf748aa6e remove ternary 2020-03-03 16:25:06 -08:00
.github Update issue templates (#170) 2018-12-06 14:38:51 -08:00
attributes Release/3.0 (#193) 2019-03-04 10:07:16 -08:00
documentation update docs 2019-12-06 16:05:12 -08:00
libraries remove ternary 2020-03-03 16:25:06 -08:00
recipes Release/3.0.1 (#196) 2019-03-26 11:15:31 -07:00
resources Merge pull request #216 from microsoft/feature/plist-dicts 2019-12-09 11:32:24 -08:00
spec remove tests for 'undetermined' virtualization state 2020-03-03 16:06:27 -08:00
test add test for upgrade action 2019-12-06 15:43:02 -08:00
.gitignore Release/2.2 (#115) 2018-05-29 12:08:05 -05:00
.mailmap Release/3.0 (#193) 2019-03-04 10:07:16 -08:00
.rubocop.yml Release/1.10 (#82) 2018-03-26 14:06:33 -07:00
Berksfile Release/1.6 (#49) 2018-02-20 13:49:51 -08:00
CHANGELOG.md update CL 2020-03-03 16:11:15 -08:00
CONTRIBUTING.md Release/1.13 (#102) 2018-04-25 10:32:20 -07:00
Gemfile Release/3.0 (#193) 2019-03-04 10:07:16 -08:00
Guardfile Release/2.2 (#115) 2018-05-29 12:08:05 -05:00
LICENSE rename LICENSE for foodcritic 2017-09-27 16:32:45 -07:00
README.md update README 2019-10-09 16:19:15 -07:00
Rakefile Release/2.2 (#115) 2018-05-29 12:08:05 -05:00
TESTING.md Release/3.0 (#193) 2019-03-04 10:07:16 -08:00
azure-pipelines.yml remove foodcritic step from builds 2020-01-31 16:00:54 -08:00
chefignore Release/3.0 (#193) 2019-03-04 10:07:16 -08:00
kitchen.yml add extra converge for default 2019-12-06 16:20:07 -08:00
metadata.rb fix mis-detection of metal machines running as VMs 2020-03-03 14:54:34 -08:00

README.md

macOS Cookbook

Build Status

Chef resources and recipes for managing and provisioning macOS.

Supported Chef Versions

  • Chef 15

Supported OS Versions

  • macOS High Sierra 10.13
  • macOS Mojave 10.14
  • macOS Catalina 10.15

Attributes

Admin User and Password

node['macos']['admin_user'] = 'vagrant'
node['macos']['admin_password'] = 'vagrant'

Each of these attributes defaults to vagrant since our resources are developed with the Vagrant paradigm. In other words, the user and password declared here should be an admin user with passwordless super-user rights.

Recipes

Keep Awake

Prevent macOS from falling asleep, disable the screensaver, reboot upon power failure, enable wake on LAN, enable remote login (SSH) and adjust several other settings to always keep macOS on and available.

Usage: include_recipe 'macos::keep_awake'

Attributes used Default value
node['macos']['remote_login_enabled'] true
node['macos']['network_time_server'] 'time.windows.com'
node['macos']['time_zone'] 'America/Los_Angeles'

Resources