A Chef cookbook used to provision macOS
Перейти к файлу
Jacob Zaval cb5d972416
make whitespace removal explicit
Co-authored-by: Gustave Granroth <gus.gran@gmail.com>
2021-02-10 14:42:13 -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 make whitespace removal explicit 2021-02-10 14:42:13 -08:00
recipes add deprecated notice for keep_awake 2020-08-05 14:48:45 -07:00
resources cookstyle 2021-02-10 13:09:15 -08:00
spec update fauxhai data for spotlight spec tests. 2021-02-10 13:20:26 -08: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 2021-02-10 13:21:58 -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 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 update suites 2020-08-05 14:57:59 -07:00
metadata.rb remove 'installed' indication from xcversion list output 2021-02-10 13:03:16 -08: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