Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

macos (26) Versions 2.5.0

Resources for configuring and provisioning macOS

Berkshelf
Policyfile
Knife
cookbook 'macos', '= 2.5.0'
cookbook 'macos', '= 2.5.0', :supermarket
knife supermarket install macos
knife supermarket download macos
README
Dependencies
Changelog
Quality 88%

macOS Cookbook

build-status-badge

Chef resources and recipes for managing and provisioning macOS.

Supported Chef Versions

  • Chef 13
  • Chef 14

Supported OS Versions

  • OS X El Capitan 10.11
  • macOS Sierra 10.12
  • macOS High Sierra 10.13

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

Disable Software Updates

Disables automatic checking and downloading of software updates.

Usage: include_recipe 'macos::disable_software_updates'

No attributes used in this recipe.

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'

Xcode

Installs Xcode 9.2 and simulators for iOS 10 and iOS 11. See the Xcode resource documentation if you need more flexibility.

:warning: Requires a credentials data bag containing an apple_id data bag item, or a user/password pair set under node['macos']['apple_id'].

Usage: include_recipe 'macos::xcode'

Attributes used Default value
node['macos']['xcode']['version'] '9.3'
node['macos']['xcode']['simulator']['major_version'] nil
node['macos']['apple_id']['user'] nil
node['macos']['apple_id']['password'] nil

Data Bags

The macos::xcode recipe can utilize a credentials data bag with an apple_id data bag item. The item should contain valid Apple ID credentials. For example:

Example:

{
  "id": "apple_id",
  "apple_id": "farva@spurbury.gov",
  "password": "0k@yN0cR34m"
}

Resources

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

vsts_agent_macos Applicable Versions

Changelog

All notable changes to this project will be documented in this file.

[2.5.0] - 2018-09-10

Added

  • Added functional path property to Xcode resource. (Issue #116).
  • Added ChefSpec resource tests for Xcode.

Fixed

  • Separated extra responsibilities of Xcode resource into DeveloperAccount and CommandLineTools libraries.

[2.4.0] - 2018-08-16

Added

Removed

  • homebrew cookbook dependency removed. homebrew_cask and homebrew_tap is being deprecated by Chef and has not been used by macos-cookbook since version 2.0. (Issue #123).

Fixed

  • Fixed keychain resource documentation link.
  • Update metadata_util library to consider Spotlight server status before manipulating indexing state. (Issue #45).

Collaborator Number Metric
            

2.5.0 passed this metric

Contributing File Metric
            

2.5.0 passed this metric

Foodcritic Metric
            

2.5.0 failed this metric

FC009: Resource attribute not recognised: macos/resources/spotlight.rb:37
Run with Foodcritic Version 14.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

2.5.0 passed this metric

Publish Metric
            

2.5.0 passed this metric

Supported Platforms Metric
            

2.5.0 passed this metric

Testing File Metric
            

2.5.0 passed this metric

Version Tag Metric
            

2.5.0 passed this metric