A Chef cookbook used to provision macOS
Перейти к файлу
Jacob Zaval 2571208282 deprecate keep_awake 2020-08-05 14:37:51 -07: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 name refactors and method reordering 2020-08-05 10:04:08 -07:00
recipes deprecate keep_awake 2020-08-05 14:37:51 -07:00
resources update macos_user resource to unlock screen if autologin is enabled 2020-08-05 14:05:49 -07:00
spec fallback to exact version if we're not working with a beta 2020-08-04 16:24:20 -07:00
test skip remote access for beta Big Sur 2020-08-05 12:14:10 -07: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
Berksfile Release/1.6 (#49) 2018-02-20 13:49:51 -08:00
CHANGELOG.md update CL 2020-08-05 14:07:07 -07: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 deprecate keep_awake 2020-08-05 14:37:51 -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 add big sur platform 2020-07-24 12:30:19 -07:00
chefignore Release/3.0 (#193) 2019-03-04 10:07:16 -08:00
kitchen.yml add big sur platform 2020-07-24 12:30:19 -07:00
metadata.rb bump version 2020-08-04 16:26:49 -07:00

README.md

macOS Cookbook

Build Status

Chef resources and recipes for managing and provisioning macOS.

Officially Supported Chef Versions

  • Chef 16

Supported OS Versions

  • macOS High Sierra 10.13
  • macOS Mojave 10.14
  • macOS Catalina 10.15
  • macOS Big Sur 11.0

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

All macos-cookbook recipes are deprecated and will be removed in a future release.

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