Skip to content

Releases: microsoft/macos-cookbook

5.1.0

29 Jun 17:01
2524f9d
Compare
Choose a tag to compare

Fixed

  • Fixed issues with ARD not working on macOS Monterey.
  • Ensured that CLT demand file always exists before we query the SWU catalog.

Added

  • Added additional functionality to the remote_management resource.
    • You can now specify the users to whose privileges will be configured.
    • You can now specify the privileges to bestow upon the given users.
    • You can now set the computer info fields; this is helpful for stratifying computers within ARD.

5.0.1

25 May 20:45
da3609c
Compare
Choose a tag to compare

Changelog

[5.0.1] - 2022-05-25

Fixed

  • Updated Setup Assistant keys for the macos_user resource to properly enable autologin after updating to 11.6.6
  • Updated required macOS minimums for the xcode resource to evaluate compatibility for the most recent Xcodes.

[5.0.0] - 2022-03-31

Fixed

  • Extracted authentication with Apple via xcode resource away xcode object instantiation, resolving Bug #234.
  • Enabled macos_user resource to parse sysadminctl stderr, resolving Bug 197.
  • Reversed order of arguments for certificate installation, resolving Bug 244.
  • Fixed macos_user resource autologin functionality to dismiss Welcome "buddy" screens after updating to 11.6.5 via softwareupdate.

Added

  • Added apple_id property to xcode resource to remove dependency on attributes or data bags for authentication.
  • New certificate resource property: keychain_password which allows specification of the keychain password.
  • New keychain resource property: user which allows specification of an executing user.
  • New test suites and recipe change to account for .cer files.
  • Check for certificate existence within the keychain before installing a new one to ensure idempotency.
  • Support for Mac Studio in FormFactor class.
  • Secure token support for macos_user resource via new properties secure_token and existing_token_auth.
  • New unit and integration tests for macos_user resource.
  • Updated our README to include Monterey support.
  • Added the documentation directory to chefignore as we don't need to upload all our docs to Chef Infra Servers.

Changed

  • Changed certificate property names to be more clear within resource scope and consistent with keychain resource:
    • certfile is now path
    • cert_passwd is now password
    • keychain is now keychain_path
  • Changed keychain property names to be more clear within resource scope and consistent with certificate resource:
    • kc_file is now path
    • kc_passwd is now password
  • Made certificate password properties sensitive.
  • Deprecated plist resource in favor of the plist resource included with Chef Client >=16.
  • Unified macos_user test suites.
  • Updated macos_user resource to use not utilize default attributes for authorization.
  • Updated all deprecated tool names, shell outputs, and URLs in TESTING.md

Removed

  • Removed the ability to authenticate with Apple for xcode downloads via node attributes or data bags.
  • Removed dependency on using the default['macos']['admin_password'] attribute for setting the keychain password when using the certificate resource.
  • Removed last default cookbook attributes:
    • node['macos']['admin_user']
    • node['macos']['admin_password']
    • node['macos']['apple_id']

v2.9.0: Merge pull request #172 from Microsoft/release/2.9

31 Dec 22:51
64fe139
Compare
Choose a tag to compare

Added

  • Added templates for bug reports, feature requests, and pull requests to adhere with Github's recommended community standards.
  • Added support for owner/group in the plist resource. Allows for plist files to be created under a specific owner. Defaults to root/wheel for compatibility with earlier versions of the cookbook. (Issue #51)
  • Added support for setting the mode property when creating a plist using the plist resource. This allows control over setting the file permissions. (Issue #51)

v1.10.1

26 Mar 22:25
fdc342e
Compare
Choose a tag to compare

Changelog

Features

  • #78 Revamped InSpec profile
  • #81 Allow node attributes for Apple ID credentials

Bug Fixes

  • #66 Resolve an issue where builds were failing due to incorrect InSpec syntax
  • #77 Resolve an issue where users were not properly added to groups in the macos_user resource
  • #79 Install Command Line Tools as part of Xcode setup
  • #80 Execute block in Xcode resource times out

v1.9.0

22 Mar 16:40
0db7830
Compare
Choose a tag to compare

Changelog

Certificate resource updates

  • Testing for new and improved certificate resource
  • Add documentation detailing new certificate resource changes incorporating the -T option
  • modify security library and certificate resource to accommodate -T option

Bug fixes

  • Add support for file encoding type utf-8 for use with plist resource
  • Leverage the node['virtualization']['systems'] ohai attribute to determine whether we are a guest or a host
  • ensure xcode-install gem is in Chef embedded even if ChefDK is present

v1.8.0

22 Mar 16:36
054d6b8
Compare
Choose a tag to compare

Changelog

  • Add dns_domain property to machine_name resource to support FQDNs
  • Remove support for NetBIOSName due to macOS bugs
  • Add TESTING.md documentation
  • Fix several bugs in plist resource
  • Add new suite for machine_name test recipe
  • Fix several typos in machine_name resource documentation
  • Change binary property to encoding to support xml and binary plist formats

v1.7.0

10 Mar 00:35
Compare
Choose a tag to compare

Changelog

  • Introduce certificate resource (#53)
  • Fixes to plist unit tests (#54)

1.6.0

10 Mar 00:35
40180c1
Compare
Choose a tag to compare

Changelog

  • Support whitespace in defaults andplist resources
  • plist resource now create the plists if it is missing
  • Improve testing for macos_user (#48)
  • Better test coverage for admin users created with macos_user resource
  • Fix .kitchen.yml to properly enforce idempotency

1.2.0

29 Jan 01:16
1492655
Compare
Choose a tag to compare

Changelog

Features

  • New resource: spotlight - Toggle indexing and searching of macOS' metadata. (#34)

Bug Fixes

  • Create user fails in macOS 10.13 (#32 resolved via #33)
  • Build badges incorrect (#29)

1.1.0

02 Jan 04:02
Compare
Choose a tag to compare

Changelog

Features

  • Rename plistbuddy resource to plist
  • Create a new testing cookbook that contains tests for both plistbuddy and macos_user resources.
  • Add fullname property to macos_user resource
  • Better test coverage for xcode resource

Bug Fixes

  • Screensaver not properly being disabled due to binary/ASCII file-type conversion