A Chef cookbook used to provision macOS
Перейти к файлу
Jacob Zaval 50b5257a04 rewrite compatible_with_platform to not use sugar 2019-09-25 14:29:20 -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 Release/3.0.1 (#196) 2019-03-26 11:15:31 -07:00
libraries rewrite compatible_with_platform to not use sugar 2019-09-25 14:29:20 -07:00
recipes Release/3.0.1 (#196) 2019-03-26 11:15:31 -07:00
resources rewrite compatible_with_platform to not use sugar 2019-09-25 14:29:20 -07:00
spec rewrite compatible_with_platform to not use sugar 2019-09-25 14:29:20 -07:00
test Bump Inspec profile version 2019-08-14 12:30:11 -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
.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 2019-08-14 10:54:25 -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 Release/3.0 (#193) 2019-03-04 10:07:16 -08: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 catalina, drop sierra test support 2019-09-25 12:34:53 -07:00
chefignore Release/3.0 (#193) 2019-03-04 10:07:16 -08:00
kitchen.yml add catalina, drop sierra test support 2019-09-25 12:34:53 -07:00
metadata.rb remove chef-sugar dependency 2019-09-25 12:43:34 -07: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