A Chef cookbook used to provision macOS
Перейти к файлу
Jacob Zaval b499a03f6c refactor CommandLineTools 2019-10-04 11:49:26 -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 refactor CommandLineTools 2019-10-04 11:49:26 -07:00
recipes Release/3.0.1 (#196) 2019-03-26 11:15:31 -07:00
resources Merge branch 'master' into release/3.1.0 2019-09-26 14:51:33 -07:00
spec update clt library for Catalina, update unit tests 2019-10-01 14:56:53 -07:00
test Merge pull request #211 from microsoft/feature/improve-clt-speed 2019-10-03 10:42:35 -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 Merge branch 'master' into release/3.1.0 2019-09-26 14:51:33 -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 update catalina suites to GM 2019-10-03 13:55:33 -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