A Chef cookbook used to provision macOS
Перейти к файлу
v-anshie b5ea622077 add exclude for url suite 2019-02-26 15:36:39 -08:00
.github Update issue templates (#170) 2018-12-06 14:38:51 -08:00
attributes remove default Xcode version attribute 2019-02-07 15:47:55 -08:00
documentation Replace ard resource with remote_management (#191) 2019-02-25 16:09:19 -08:00
libraries Replace ard resource with remote_management (#191) 2019-02-25 16:09:19 -08:00
recipes Remove disable_software_updates recipe, related tests, and documentation (#188) 2019-02-11 09:36:53 -08:00
resources fix keychain creation guard preventing multi-converge from passing 2019-02-26 15:21:46 -08:00
spec Replace ard resource with remote_management (#191) 2019-02-25 16:09:19 -08:00
test fix keychain creation guard preventing multi-converge from passing 2019-02-26 15:21:46 -08:00
.gitignore Release/2.2 (#115) 2018-05-29 12:08:05 -05:00
.mailmap update mailmap 2019-02-21 16:29:43 -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 changelog with 3.0 changes 2019-02-25 17:04:38 -08:00
CONTRIBUTING.md Release/1.13 (#102) 2018-04-25 10:32:20 -07:00
Gemfile Release/2.2 (#115) 2018-05-29 12:08:05 -05: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.md 2019-02-22 14:24:36 -08:00
Rakefile Release/2.2 (#115) 2018-05-29 12:08:05 -05:00
TESTING.md Remove El Capitan support 2019-01-30 15:07:20 -08:00
azure-pipelines.yml add exclude for url suite 2019-02-26 15:36:39 -08:00
chefignore Add Azure Pipelines YAML (#185) 2019-02-05 23:57:40 -08:00
kitchen.yml Revert "Revert chefVersion removal from matrix strategy" 2019-02-26 12:06:08 -08:00
metadata.rb Bump supported Chef version in metadata.rb to 14 2019-01-30 15:14:48 -08:00

README.md

macOS Cookbook

Build status

Chef resources and recipes for managing and provisioning macOS.

Supported Chef Versions

  • Chef 14

Supported OS Versions

  • macOS Sierra 10.12
  • macOS High Sierra 10.13
  • macOS Mojave 10.14

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