macos-cookbook/CHANGELOG.md

333 строки
14 KiB
Markdown
Исходник Обычный вид История

# Changelog
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
2020-08-05 21:14:43 +03:00
## [3.4.0] - 2020-08-05
### Added
- Support and testing for Big Sur. Due to a bug in the `kickstart` script in Big Sur, the `remote_management`
resource is not functional on any system that reports `11.0` instead of `10.16`, which is the case
on 20A5323l (beta 3) or later. This will be resolved at a later date.
### Fixed
- The `xcode` resource now installs the latest available beta revision or GM seed of Xcode if there
is not an official release of the requested version. Note that installing the early "Xcode 12 for macOS
Universal Apps" betas is not supported since Apple has already unified these into the core Xcode
bundles as of 12A8169g (beta 3).
- The `command_line_tools` OS version parsing regex has been fixed for macOS 11.0
- Integration test matching for the `automatic_software_updates` resource has been fixed for macOS 11.0
2020-06-19 00:29:52 +03:00
## [3.3.0] - 2020-06-18
### Added
- Support for Chef 16
2020-06-19 00:04:39 +03:00
### Fixed
2020-06-19 00:29:52 +03:00
2020-06-19 00:04:39 +03:00
- Fixed an issue where the beta version of Xcode would be installed over the GM
version if both were still available from Apple.
- Updated the Xcode OS platform compatibility logic. Thanks @nickdowell!
- Numerous cookstyle fixes.
2020-06-19 00:29:52 +03:00
### Removed
- Rspec dependency on `chef-sugar`
2020-03-04 03:11:15 +03:00
## [3.2.1] - 2020-03-03
### Fixed
- Fixed an issue with the `system` library where a system without hypervisor
software installed could be mistakenly identified as a VM and not have certain
platform-specific power preferences set.
2019-12-09 22:37:00 +03:00
## [3.2.0] - 2019-12-09
### Added
- Added an `:upgrade` action to the `command_line_tools` resource
- Added support for dictionaries to the `plist` resource
2019-10-09 09:19:13 +03:00
## [3.1.0] - 2019-10-09
2019-08-14 20:44:56 +03:00
### Added
2019-10-09 09:19:13 +03:00
- Added support for macOS Catalina
- Added support for Chef 15
- Added `UserPath` and `SystemPath` libraries to simplify calls to macOS filepaths
2019-08-14 20:44:56 +03:00
### Fixed
2019-10-09 09:19:13 +03:00
- Fixed an issue parsing new `softwareupdate` output on macOS Catalina
- Fixed a dependency issue with `xcode-install` on Chef 15
- Fixed and updated the `xcode` resource platform compatibilty check (thanks to xcodereleases.com for tracking this)
### Removed
- Removed testing on macOS Sierra
- Removed testing on Chef 14
- Removed dependency on `chef-sugar`
2019-08-14 20:44:56 +03:00
2019-09-12 01:57:54 +03:00
## [3.0.9] - 2019-09-11
### Fixed
2019-09-12 03:26:39 +03:00
- Fixed an issue where the Xcode resource cannot find the Xcode 11 GM bundle path to move it to the declared path in the resource. It removes a logic tree in favor of matching the behavior of the xcode-install gem: https://github.com/xcpretty/xcode-install/blob/74b89805462d6795d964935239f78e6d2790a52d/lib/xcode/install.rb#L282, which is to replace spaces in the version listed by Apple with a period.
2019-09-12 01:57:54 +03:00
2019-09-12 03:26:39 +03:00
- Fixed an issue where installing the xcode-install gem fails on Chef 15
2019-09-12 01:57:54 +03:00
2019-09-12 03:26:39 +03:00
- Fixed an issue where the Xcode resource attempted to write to the read-only portion of the Catalina filesystem.
2019-09-12 01:57:54 +03:00
## [3.0.8] - 2019-07-31
### Fixed
- Fixed an issue where Xcode versions containing whitespace were not properly quoted in command execution. Regression from version 2.10 release.
## [3.0.1] - 2019-03-15
Thanks to @jkronborg for these two fixes!
### Fixed
2019-08-14 20:44:56 +03:00
- Fixed a guard in `keep_awake` for use on portables.
- Fixed incorrect attribute key in the Xcode resource documentation, and added a security suggestion.
Release/3.0 (#193) * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * Add deprecation notice for the machine_name resource (#146) * bump version to 3.0 for release branch * Drop chef13 support in .kitchen.yml * Remove machine_name resource in favor of hostname resource in Chef14 (#145) * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * update inspec tests * remove live_stream option * Remove machine name custom resource and related tests * Add deprecation notice for the machine_name resource (#146) * Add spotlight spec test * Add back el-cap chef14 platform in .kitchen.yml * Release 3.0 will not support Chef 13 if this change is implemented * Remove El Capitan support Linting - Remove machine_name resource in favor of hostname resource in Chef14 (#145) * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * update inspec tests * remove live_stream option * Remove machine name custom resource and related tests * Add deprecation notice for the machine_name resource (#146) * Add spotlight spec test * Add back el-cap chef14 platform in .kitchen.yml * Release 3.0 will not support Chef 13 if this change is implemented - Remove El Capitan support - Remove useless assignment in security_test - Enable password hash unit test - Markdown linting - Fix headers - Remove dollar signs from code blocks that do not include output - Update 10.13.3 to 10.13.6 * Bump supported Chef version in metadata.rb to 14 * Remove machine_name resource documentation * Add Azure Pipelines YAML (#185) * Remove duplicate .gitignore from test cookbook * Add azure-pipelines YAML with Chef unit/lint job * Add suites and update kitchen.yml name * Add pipelines YAML to chefignore * Add parameter input for kitchenFile * Remove branch ref for templates repository * Remove Xcode recipe, tests, and documentation (#187) * Remove default recipe and fix ChefSpec test for disable_software_updates recipe (#186) * Delete default recipe and related spec * Fix failing ChefSpec test for disable_software_updates recipe * remove default Xcode version attribute * set test recipe Xcode version * Remove disable_software_updates recipe, related tests, and documentation (#188) * update mailmap * create readme and resource for macos_automatic_software_updates * remove vagrant.rb * change name of resource to automatic_software_updates * add new automatic_software_updates resource * add spec test for automatic_software_updates * change name of resource * group under one action block * update spec test to check for app_store * update property names * update property names in resource * update property name in spec test * update value entry to recieve user inputed property * add block to test both true and false * Add Action description to software_update.md * spec tests with seperate it blocks, work in progress * uploaded some working tests * update resource to pass spec tests * make path to software update plist a variable * lint and beautify * create app store plist variable * add test cases for error handling * add exception handling for spec test cases * add error handling to resource to check against bad configs * add disable_software_updates.rb * update software_updates_test.rb to include all resource values * make software-update test suite idempotent * add more content to resource_software_update.md documentation * update documentation name * remove old file * add example to documentation * remove disable_software_update recipe * Revert "remove disable_software_update recipe" This reverts commit e034db13a8dd349ac2dbc2fe2ec1133da650bdca. * cookstyle * add integration test for macos_test disable software update recipe * update integration test for software update with content * update README.md * Revert "update README.md" This reverts commit f1c2f881b739fc542317f610d697a96d5fe88590. * update README.md * Update documentation/resource_automatic_software_updates.md Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update documentation/resource_automatic_software_updates.md Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * update spec test plist path entries with variable for cleaner code -Mark Merin * remove duplicate test file with bad InSpec syntax * fix indentation, update wording, and add inline image of the preferences * update wording in documentation * Replace ard resource with remote_management (#191) * change class name from ARD to RemoteManagement * update resource name in test * update resource name * update method names * remote unused actions * make RemoteManagement a class, static methods * create remote_management resource to replace ard * remove configuration action, create contexts to check idempotence * update test recipe to be more explicit * update spec to use shared examples and contexts * add full privs mask to configured? guard * remove old library spec * update docs * remove duplicate conditional checking * refactor plist to plist_content * refactor configured? to configured_for_all_users_and_privileges? * remove parens * update build yaml to include software-update test suite * update test suite name in kitchen.yml * update changelog with 3.0 changes * fix run_list recipe to look in macos_test folder for recipe * update run_list for software-updates test suite * update azure-pipelines.yml test suites list (#192) * update azure-pipelines.yml test suites list * Fix test recipe name for software_updates suite * Update InSpec output file name to match azure pipelines template * Remove Chef version from platform name * Remove chefVersion from the matrix strategy * Revert chefVersion removal from matrix strategy * Revert "Revert chefVersion removal from matrix strategy" This reverts commit ac03f78bca40e153d9d0fe22e95140602cadf635. * fix keychain creation guard preventing multi-converge from passing * add exclude for url suite * Revert "add exclude for url suite" This reverts commit b5ea6220770a80979abeb44007644a3b3d87da6b. * add guard in azure-pipelines.yml for xcode version on sierra platform * Revert "add guard in azure-pipelines.yml for xcode version on sierra platform" This reverts commit 5a9460d7bcc7b9e98e87daaf96dd22b7973ee68b. * don't exclude sierra from xcode testing * add '9.2' version to sierra url install * update build badge in README.md * fix typo * add fix for keychain to changelog * add removal of machine_name to changelog * fix caps * move spotlight resource test to resource folder * note spotlight test additions * note removal of default attribute for xcode version * remove dup lines * add changelog updates * add mock data back * add more mock data back * Update resource doc links - Fix broken link for renamed resource - Remove link to machine_name documentation - Update formatting to match Chef's resource links * update xcode doc with auth steps * officially unofficial * remove extra lines between properties to match other resources * update CHANGELOG with correct El Capitan prefix * install rb-readline gem for pry compatibility with unit test guard https://github.com/pry/pry/issues/1577
2019-03-04 21:07:16 +03:00
## [3.0.0] - 2019-02-28
### Added
- Added `automatic_software_updates` resource to enable or disable the automatic checking, downloading, and installing of software updates.
- Added `azure-pipelines.yml` to allow for managing builds as code.
- Added some resource unit tests for `spotlight` to complement the existing `metadata_util` tests.
### Changed
- Changed the `ard` resource to `remote_management` and updates applicable tests and documentation. The new `remote_management` resource greatly simplifies syntax and reduces the needed macOS domain knowledge around `kickstart` options. However, it has less functionality than `ard` and is a significant breaking change.
### Fixed
- Fixed .mailmap file to accurately track contributor emails.
- Fixed guard in the `keychain` resource for the `:create` action.
### Removed
- Adiós, Captain! We no longer support OS X El Capitan or Chef 13.
- Removed `machine_name` resource along with respective tests and documentation in favor of the `hostname` resource in Chef 14.
- Removed `xcode` recipe along with respective tests, documentation and node attributes in favor of `command_line_tools` resource which was released in 2.10.0.
- Removed `disable_software_updates` recipe along with respective tests and documentation in favor of `automatic_software_updates` resource.
2019-08-14 20:44:56 +03:00
- Removed `default` recipe - it was empty anyway.
Release/3.0 (#193) * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * Add deprecation notice for the machine_name resource (#146) * bump version to 3.0 for release branch * Drop chef13 support in .kitchen.yml * Remove machine_name resource in favor of hostname resource in Chef14 (#145) * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * update inspec tests * remove live_stream option * Remove machine name custom resource and related tests * Add deprecation notice for the machine_name resource (#146) * Add spotlight spec test * Add back el-cap chef14 platform in .kitchen.yml * Release 3.0 will not support Chef 13 if this change is implemented * Remove El Capitan support Linting - Remove machine_name resource in favor of hostname resource in Chef14 (#145) * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * update inspec tests * remove live_stream option * Remove machine name custom resource and related tests * Add deprecation notice for the machine_name resource (#146) * Add spotlight spec test * Add back el-cap chef14 platform in .kitchen.yml * Release 3.0 will not support Chef 13 if this change is implemented - Remove El Capitan support - Remove useless assignment in security_test - Enable password hash unit test - Markdown linting - Fix headers - Remove dollar signs from code blocks that do not include output - Update 10.13.3 to 10.13.6 * Bump supported Chef version in metadata.rb to 14 * Remove machine_name resource documentation * Add Azure Pipelines YAML (#185) * Remove duplicate .gitignore from test cookbook * Add azure-pipelines YAML with Chef unit/lint job * Add suites and update kitchen.yml name * Add pipelines YAML to chefignore * Add parameter input for kitchenFile * Remove branch ref for templates repository * Remove Xcode recipe, tests, and documentation (#187) * Remove default recipe and fix ChefSpec test for disable_software_updates recipe (#186) * Delete default recipe and related spec * Fix failing ChefSpec test for disable_software_updates recipe * remove default Xcode version attribute * set test recipe Xcode version * Remove disable_software_updates recipe, related tests, and documentation (#188) * update mailmap * create readme and resource for macos_automatic_software_updates * remove vagrant.rb * change name of resource to automatic_software_updates * add new automatic_software_updates resource * add spec test for automatic_software_updates * change name of resource * group under one action block * update spec test to check for app_store * update property names * update property names in resource * update property name in spec test * update value entry to recieve user inputed property * add block to test both true and false * Add Action description to software_update.md * spec tests with seperate it blocks, work in progress * uploaded some working tests * update resource to pass spec tests * make path to software update plist a variable * lint and beautify * create app store plist variable * add test cases for error handling * add exception handling for spec test cases * add error handling to resource to check against bad configs * add disable_software_updates.rb * update software_updates_test.rb to include all resource values * make software-update test suite idempotent * add more content to resource_software_update.md documentation * update documentation name * remove old file * add example to documentation * remove disable_software_update recipe * Revert "remove disable_software_update recipe" This reverts commit e034db13a8dd349ac2dbc2fe2ec1133da650bdca. * cookstyle * add integration test for macos_test disable software update recipe * update integration test for software update with content * update README.md * Revert "update README.md" This reverts commit f1c2f881b739fc542317f610d697a96d5fe88590. * update README.md * Update documentation/resource_automatic_software_updates.md Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update documentation/resource_automatic_software_updates.md Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * Update spec/unit/resources/automatic_software_updates_spec.rb Co-Authored-By: v-anshie <v-anshie@microsoft.com> * update spec test plist path entries with variable for cleaner code -Mark Merin * remove duplicate test file with bad InSpec syntax * fix indentation, update wording, and add inline image of the preferences * update wording in documentation * Replace ard resource with remote_management (#191) * change class name from ARD to RemoteManagement * update resource name in test * update resource name * update method names * remote unused actions * make RemoteManagement a class, static methods * create remote_management resource to replace ard * remove configuration action, create contexts to check idempotence * update test recipe to be more explicit * update spec to use shared examples and contexts * add full privs mask to configured? guard * remove old library spec * update docs * remove duplicate conditional checking * refactor plist to plist_content * refactor configured? to configured_for_all_users_and_privileges? * remove parens * update build yaml to include software-update test suite * update test suite name in kitchen.yml * update changelog with 3.0 changes * fix run_list recipe to look in macos_test folder for recipe * update run_list for software-updates test suite * update azure-pipelines.yml test suites list (#192) * update azure-pipelines.yml test suites list * Fix test recipe name for software_updates suite * Update InSpec output file name to match azure pipelines template * Remove Chef version from platform name * Remove chefVersion from the matrix strategy * Revert chefVersion removal from matrix strategy * Revert "Revert chefVersion removal from matrix strategy" This reverts commit ac03f78bca40e153d9d0fe22e95140602cadf635. * fix keychain creation guard preventing multi-converge from passing * add exclude for url suite * Revert "add exclude for url suite" This reverts commit b5ea6220770a80979abeb44007644a3b3d87da6b. * add guard in azure-pipelines.yml for xcode version on sierra platform * Revert "add guard in azure-pipelines.yml for xcode version on sierra platform" This reverts commit 5a9460d7bcc7b9e98e87daaf96dd22b7973ee68b. * don't exclude sierra from xcode testing * add '9.2' version to sierra url install * update build badge in README.md * fix typo * add fix for keychain to changelog * add removal of machine_name to changelog * fix caps * move spotlight resource test to resource folder * note spotlight test additions * note removal of default attribute for xcode version * remove dup lines * add changelog updates * add mock data back * add more mock data back * Update resource doc links - Fix broken link for renamed resource - Remove link to machine_name documentation - Update formatting to match Chef's resource links * update xcode doc with auth steps * officially unofficial * remove extra lines between properties to match other resources * update CHANGELOG with correct El Capitan prefix * install rb-readline gem for pry compatibility with unit test guard https://github.com/pry/pry/issues/1577
2019-03-04 21:07:16 +03:00
## [2.10.1] - 2019-01-29
### Fixed
- Fixed issue in which setting certain `machine_name` resource properties (`hostname`, `local_hostname`, `dns_domain`) from a previously unset state, would fail to compile. ([Issue #181](https://github.com/Microsoft/macos-cookbook/issues/181)).
## [2.10.0] - 2019-01-16
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
### Added
- Added `command_line_tools` resource to manage Xcode Command Line Tools installation for macOS.
- New Xcode property `download_url`. ([Issue #174](https://github.com/Microsoft/macos-cookbook/issues/174)).
### Changed
- Bump Xcode to 10.1 in default attributes file.
### Fixed
- Resolved an issue where a unit test was not passing due to a typo.
## [2.9.0] - 2018-12-06
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
### Added
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
- Added templates for bug reports, feature requests, and pull requests to adhere with Github's [recommended community standards](https://opensource.guide).
2018-12-21 03:07:32 +03:00
- 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](https://github.com/Microsoft/macos-cookbook/issues/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](https://github.com/Microsoft/macos-cookbook/issues/51))
2018-11-30 00:48:28 +03:00
## [2.8.1] - 2018-11-29
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
2018-11-30 00:48:28 +03:00
### Fixed
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
2018-11-30 00:48:28 +03:00
- Fixed an issue where the path for the `xcversion` utility was hard-coded when installed as a Chef gem, which caused failures when converging with ChefDK or Workstation.
## [2.8.0] - 2018-11-14
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
### Added
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
- Sugar helps the code go down! We now depend on [Chef Sugar](https://supermarket.chef.io/tools/chef-sugar) for `mac_os_x?`, `virtual?`, `mac_os_x_before_or_at_maverick?`, etc.
### Fixed
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
- Fixed an issue where Software Update Catalog provides an incomplete list causing some converge failures. We now check for `platform_specific.empty?` and produce appropriate errors.
Release/2.7 (#160) * bump version * Fix #63 (#152) * refactor screensaver class disabled method * fix indentation * delete some unit tests * don't smoke test UID when testing user resource (#153) * remove uid testing * remove multi-converge, added to idempotency branch * Add multi-converge testing for all suites, idempotency for select suites (#155) * remove uid testing * add multi-converge for all test recipes * remove sleep * just see if multi-converges pass * add idempotency testing for specific suites * add guard in spotlight test recipe * guard against last test disk * add a case if the index is in an unknown state * add a sleep to allow indexing server to chill out * add a 3rd converge * create volume object in guard * 2 converges for now * increase sleep to allow indexing state to settle down * enforce idempotency for spotlight * add guard to test recipe item * fix bug * remove idempotency testing for xcode * set three times * Enforce idempotency for default ARD resource actions (#157) * remove uid testing * add multi-converge for all test recipes * remove sleep * just see if multi-converges pass * add idempotency testing for specific suites * add guard in spotlight test recipe * guard against last test disk * add a case if the index is in an unknown state * add a sleep to allow indexing server to chill out * add a 3rd converge * create volume object in guard * 2 converges for now * increase sleep to allow indexing state to settle down * enforce idempotency for spotlight * add guard to test recipe item * fix bug * remove idempotency testing for xcode * set three times * add guard for ARD activation * implement very basic guards * add some unit tests for the ARD module * remove some whitespace * fix stub * demystify magic mask string * Feature/fix doc links (#158) * update ard resource documentation * more updates to ard resource docuemntation * update certificate resource doccumentation * update keychain resource doc * update plist doc * update spotlight resource doc * update xcode resource doc * change link location and fix syntax mistake * add 2.7 changes to changelog (#159) * add 2.7 changes to changelog * add link to broken links issue * add more details to changelog * update CL * Update CHANGELOG.md Co-Authored-By: jazaval <jazava@microsoft.com> * Update CHANGELOG.md Co-Authored-By: jazaval <jazava@microsoft.com> * remove whitespace * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com>
2018-10-27 06:22:22 +03:00
## [2.7.0] - 2018-10-26
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
Release/2.7 (#160) * bump version * Fix #63 (#152) * refactor screensaver class disabled method * fix indentation * delete some unit tests * don't smoke test UID when testing user resource (#153) * remove uid testing * remove multi-converge, added to idempotency branch * Add multi-converge testing for all suites, idempotency for select suites (#155) * remove uid testing * add multi-converge for all test recipes * remove sleep * just see if multi-converges pass * add idempotency testing for specific suites * add guard in spotlight test recipe * guard against last test disk * add a case if the index is in an unknown state * add a sleep to allow indexing server to chill out * add a 3rd converge * create volume object in guard * 2 converges for now * increase sleep to allow indexing state to settle down * enforce idempotency for spotlight * add guard to test recipe item * fix bug * remove idempotency testing for xcode * set three times * Enforce idempotency for default ARD resource actions (#157) * remove uid testing * add multi-converge for all test recipes * remove sleep * just see if multi-converges pass * add idempotency testing for specific suites * add guard in spotlight test recipe * guard against last test disk * add a case if the index is in an unknown state * add a sleep to allow indexing server to chill out * add a 3rd converge * create volume object in guard * 2 converges for now * increase sleep to allow indexing state to settle down * enforce idempotency for spotlight * add guard to test recipe item * fix bug * remove idempotency testing for xcode * set three times * add guard for ARD activation * implement very basic guards * add some unit tests for the ARD module * remove some whitespace * fix stub * demystify magic mask string * Feature/fix doc links (#158) * update ard resource documentation * more updates to ard resource docuemntation * update certificate resource doccumentation * update keychain resource doc * update plist doc * update spotlight resource doc * update xcode resource doc * change link location and fix syntax mistake * add 2.7 changes to changelog (#159) * add 2.7 changes to changelog * add link to broken links issue * add more details to changelog * update CL * Update CHANGELOG.md Co-Authored-By: jazaval <jazava@microsoft.com> * Update CHANGELOG.md Co-Authored-By: jazaval <jazava@microsoft.com> * remove whitespace * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com>
2018-10-27 06:22:22 +03:00
### Added
Release/2.10.0 (#179) * Bump cookbook version in metadata.rb * Add `command_line_tools` resource (#176) * Update kitchen.yml to use 10.14.2 box * Add command_line_tools resource * Remove installed? check in command_line_tools library * Add command_line_tools suite * Add guard on execute block for command line tools - Add ChefSpec tests for command_line_tools - Update unnecessary tests from xcode_spec for command line tools resource * Cookstyle fixes * Add documentation for command_line_tools resource * Add link to Command Line Tools doc in README * Update documentation/resource_command_line_tools.md Co-Authored-By: ehanlon <eahanl@microsoft.com> * Bump default Xcode version in attributes file (#178) * expect correct hash for string "correct-horse-battery-staple" (#177) hash was originally for "correct-horse-battery-staplesudo" * Update CHANGELOG * New Xcode Property: download_url (#180) * version bump * Add functionality for --url support xcode resource has a new property called download_url. Most of the changes were done in xcversion which included a new routine called xcode_install_options. * fix rspec errors as Xcode.new was given one less argument * add spec tests to check download_url setting * add spec tests to check download_url setting * add spec test to test for the original behavior if download url is left blank * update xcode documentation * update changelog * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * Update libraries/xcversion.rb Rename xcode_install_options to download_url_option Co-Authored-By: mjmerin <33106688+mjmerin@users.noreply.github.com> * update routine name * update xcode docs to provide an example of installing xcode from a local url * Add missing '=' for --url * Add separate integration tests for installing Xcode from Apple or from URL * Validate download_url property to prevent requirement for Apple Dev creds to be provided * Update ChefSpec tests * move XCVersion expectations to their own file * change version tests to cover apple to semantic conversion expectations * update formatting * remove nil guard since the resource default is an empty string * add another test for ignoring Apple version * update test version * update Xcode controls * Only run xcode_from_apple suite on Mojave * Update Inspec reporter * Ensure suite names have dashes instead of underscores * require some sugar * add method to determine platform compatibility for xcode object * add platform-specific expectations to xcode spec * raise exception based on compatibility method * don't require that Xcode be initialized with empty URL string * unchain version * don't run Xcode URL install for Sierra * Apply suggestions from code review Co-Authored-By: ehanlon <eahanl@microsoft.com>
2019-01-18 03:45:23 +03:00
Release/2.7 (#160) * bump version * Fix #63 (#152) * refactor screensaver class disabled method * fix indentation * delete some unit tests * don't smoke test UID when testing user resource (#153) * remove uid testing * remove multi-converge, added to idempotency branch * Add multi-converge testing for all suites, idempotency for select suites (#155) * remove uid testing * add multi-converge for all test recipes * remove sleep * just see if multi-converges pass * add idempotency testing for specific suites * add guard in spotlight test recipe * guard against last test disk * add a case if the index is in an unknown state * add a sleep to allow indexing server to chill out * add a 3rd converge * create volume object in guard * 2 converges for now * increase sleep to allow indexing state to settle down * enforce idempotency for spotlight * add guard to test recipe item * fix bug * remove idempotency testing for xcode * set three times * Enforce idempotency for default ARD resource actions (#157) * remove uid testing * add multi-converge for all test recipes * remove sleep * just see if multi-converges pass * add idempotency testing for specific suites * add guard in spotlight test recipe * guard against last test disk * add a case if the index is in an unknown state * add a sleep to allow indexing server to chill out * add a 3rd converge * create volume object in guard * 2 converges for now * increase sleep to allow indexing state to settle down * enforce idempotency for spotlight * add guard to test recipe item * fix bug * remove idempotency testing for xcode * set three times * add guard for ARD activation * implement very basic guards * add some unit tests for the ARD module * remove some whitespace * fix stub * demystify magic mask string * Feature/fix doc links (#158) * update ard resource documentation * more updates to ard resource docuemntation * update certificate resource doccumentation * update keychain resource doc * update plist doc * update spotlight resource doc * update xcode resource doc * change link location and fix syntax mistake * add 2.7 changes to changelog (#159) * add 2.7 changes to changelog * add link to broken links issue * add more details to changelog * update CL * Update CHANGELOG.md Co-Authored-By: jazaval <jazava@microsoft.com> * Update CHANGELOG.md Co-Authored-By: jazaval <jazava@microsoft.com> * remove whitespace * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com> * grammar fix Co-Authored-By: jazaval <jazava@microsoft.com>
2018-10-27 06:22:22 +03:00
- Multi-converge testing added for all kitchen suites, idempotency enforced for select resources. Idempotency issues identified and resolved with the `keep_awake` recipe, the `spotlight` resource, and the `ard` resource
as a result. More enforcing by the idempotence police to come in future releases.
### Removed
- Removal of dead links in documentation for resources to allow for more up to date and clear documentation. ([Issue #129](https://github.com/Microsoft/macos-cookbook/issues/129)).
### Fixed
- Resolved an issue with the `ard` resource where a Chef run sometimes fails due to an intermittent `kickstart` failure. Guards added to the default resource actions to prevent this issue. ([Issue #70](https://github.com/Microsoft/macos-cookbook/issues/70)).
- Resolved an issue with the `spotlight` resource where `mdutil` output was improperly parsed and
`mdutil` commands were re-ran when not needed.
## [2.6.1] - 2018-10-04
### Added
- The desert took its toll, the README now declares support for Mojave!
Release/2.6 (#147) * added 2.3 changes to changelog * added more to changelog * added more to the changelog * version bump * added smoke test for ard.rb resource * updated xcode version to 10.0 in default.rb * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * update to test cookbook xcode.rb to include mojave * update xcode.rb for mojave support * use default xcode recipe for testing * regex for platforms supporting the current Xcode * add remote access suite, create test recipe for ard, implement smoke test * update ard resource default action, and control * add el cap * update inspec tests * improve the ARD smoke test * Use more meaningful values instead of magic numbers (#139) * - Add definitions for each of the kickstarter bits, except for observe_only bit 8 - Use the definitions for the test * Respond to PR comments and clean up inspec matchers * remove unneeded tests * add a test for activation check * update title and description of remote-control control * remove live_stream option * update to changelog (#140) * updated CHANGELOG.md with 1.9-1.13 * add 1.6-1.8 to changelog * add 1.2-1.5 to changelog * remove extra lines and 2.5 template * remove extra 2.4 header * Prevent additional Command Line Tools from appearing in softwareupdate (#143) * delete sentinel file after CLT install * update spec with output from Mojave * update expectation * add method to determine macos version * refactor available method name * add method to install latest platform specific clt * add integration test to verify bug 142 is resolved * run new control * add spec test for high sierra * detect platform specific CLT with the highest Xcode version * stub swu output instead of available * test and expect Xcode 10 instead of 9.4.1 * use new xcode list from Apple, fix find and replace typo * Add deprecation notice for the machine_name resource (#146) * updated changelog * update high sierra boxes to latest (#148) * fix foodcritic issue 009 with spotlight resource * remove xcode-beta suite. see ya next year, WWDC * update changelog with cinsistency * update mojave box version
2018-10-05 00:46:56 +03:00
## [2.6.0] - 2018-10-03
### Added
- Apple has limited some kickstart command functionality in macOS Mojave, preventing screen
control in some invocations. We verified the `ard` resource's implementation of the `kickstart` script still functions.
- Updated Xcode default version to 10.0.
- The team crossed the great Mojave Desert, collapsed from dehydration, all just to obtain its support. In other words we now support macOS Mojave.
### Fixed
- Prevented the `xcode` resource from leaving available Command Line Tools downloads
in Software Updates.
### Deprecated
- The `machine_name` resource has been deprecated in favor of the macOS support in the `hostname` resource in Chef 14. It will be removed in the release of v3.0 of the macOS cookbook.
## [2.5.0] - 2018-09-10
### Added
Release/2.6 (#147) * added 2.3 changes to changelog * added more to changelog * added more to the changelog * version bump * added smoke test for ard.rb resource * updated xcode version to 10.0 in default.rb * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * update to test cookbook xcode.rb to include mojave * update xcode.rb for mojave support * use default xcode recipe for testing * regex for platforms supporting the current Xcode * add remote access suite, create test recipe for ard, implement smoke test * update ard resource default action, and control * add el cap * update inspec tests * improve the ARD smoke test * Use more meaningful values instead of magic numbers (#139) * - Add definitions for each of the kickstarter bits, except for observe_only bit 8 - Use the definitions for the test * Respond to PR comments and clean up inspec matchers * remove unneeded tests * add a test for activation check * update title and description of remote-control control * remove live_stream option * update to changelog (#140) * updated CHANGELOG.md with 1.9-1.13 * add 1.6-1.8 to changelog * add 1.2-1.5 to changelog * remove extra lines and 2.5 template * remove extra 2.4 header * Prevent additional Command Line Tools from appearing in softwareupdate (#143) * delete sentinel file after CLT install * update spec with output from Mojave * update expectation * add method to determine macos version * refactor available method name * add method to install latest platform specific clt * add integration test to verify bug 142 is resolved * run new control * add spec test for high sierra * detect platform specific CLT with the highest Xcode version * stub swu output instead of available * test and expect Xcode 10 instead of 9.4.1 * use new xcode list from Apple, fix find and replace typo * Add deprecation notice for the machine_name resource (#146) * updated changelog * update high sierra boxes to latest (#148) * fix foodcritic issue 009 with spotlight resource * remove xcode-beta suite. see ya next year, WWDC * update changelog with cinsistency * update mojave box version
2018-10-05 00:46:56 +03:00
- Added `CHANGELOG.md`, About time right? ([Issue #122](https://github.com/Microsoft/macos-cookbook/issues/122)).
- Added functional `path` property to Xcode resource. ([Issue #116](https://github.com/Microsoft/macos-cookbook/issues/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
- Added `CHANGELOG.md`. ([Issue #122](https://github.com/Microsoft/macos-cookbook/issues/122)).
### 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](https://github.com/Microsoft/macos-cookbook/issues/123)).
### Fixed
- Fixed `keychain` resource documentation link.
- Update `metadata_util` library to consider Spotlight server status before manipulating indexing state. ([Issue #45](https://github.com/Microsoft/macos-cookbook/issues/45)).
Release/2.6 (#147) * added 2.3 changes to changelog * added more to changelog * added more to the changelog * version bump * added smoke test for ard.rb resource * updated xcode version to 10.0 in default.rb * update syntax in ard_test.rb, added mojave test suites, removed test suites for el capitan * update to test cookbook xcode.rb to include mojave * update xcode.rb for mojave support * use default xcode recipe for testing * regex for platforms supporting the current Xcode * add remote access suite, create test recipe for ard, implement smoke test * update ard resource default action, and control * add el cap * update inspec tests * improve the ARD smoke test * Use more meaningful values instead of magic numbers (#139) * - Add definitions for each of the kickstarter bits, except for observe_only bit 8 - Use the definitions for the test * Respond to PR comments and clean up inspec matchers * remove unneeded tests * add a test for activation check * update title and description of remote-control control * remove live_stream option * update to changelog (#140) * updated CHANGELOG.md with 1.9-1.13 * add 1.6-1.8 to changelog * add 1.2-1.5 to changelog * remove extra lines and 2.5 template * remove extra 2.4 header * Prevent additional Command Line Tools from appearing in softwareupdate (#143) * delete sentinel file after CLT install * update spec with output from Mojave * update expectation * add method to determine macos version * refactor available method name * add method to install latest platform specific clt * add integration test to verify bug 142 is resolved * run new control * add spec test for high sierra * detect platform specific CLT with the highest Xcode version * stub swu output instead of available * test and expect Xcode 10 instead of 9.4.1 * use new xcode list from Apple, fix find and replace typo * Add deprecation notice for the machine_name resource (#146) * updated changelog * update high sierra boxes to latest (#148) * fix foodcritic issue 009 with spotlight resource * remove xcode-beta suite. see ya next year, WWDC * update changelog with cinsistency * update mojave box version
2018-10-05 00:46:56 +03:00
## [2.3.0] - 2018-06-28
### Added
- Like a trained ninja of the night, the `macos_user` now has a `hidden` property, making it impossible to detect from the login screen.
- Moved to a new set of internal Vagrant macOS boxes, which have much more minimal initial configuration. This ensures that our resources run from a more out-of-the-box macOS experience.
### Fixed
- Fixed bug where deletion of a user was failing when using the macos_user resource.
- For those of you who like to set their user and password as the same characters, we fixed an issue in the certificate resource for non-Vagrant use cases, you know for normal human beings who like a secure environment.
## [2.2.0] - 2018-05-29
### Added
- Foodcritics can be pretty harsh in their critiquing of food. They also have some pretty in depth rules we need to comply with, so we updated machine_name to comply with the new FoodCritic rule FC115.
- Added guard config to automatically run relevant unit tests when a file is changed.
- Update to InSpec control filenames to match the standard. This allows for better understanding of the tests.
## [2.1.0] - 2018-05-16
### Added
- Created an autologin functionality on 10.13.4 to allow for machine to automatically login to the machine.
## [2.0.0] - 2018-05-09
### Removed
- Removed the Mono recipe as it is not in the scope of this cookbook.
- Removed Apple Configurator recipe as a bug with the `mas` dependency does not function in High Sierra.
## [1.14.0] - 2018-05-01
### Added
- Updated the `keep_awake` recipe and spec tests to not require node attribute stubbing when wrapped in another cookbook.
## [1.13.0] - 2018-04-25
### Added
- Added a CONTRIBUTING.md to outline the Chef Community Guidelines for code contribution.
### Fixed
- Fixed an issue with ChefSpec when wrapping the `keep_awake` recipe.
- Fixed an idempotence issue with the keychain resource.
## [1.12.0] - 2018-04-16
### Added
- Added new keychain resource
- Introduced three new library classes `Power`, `Environment`, and `ScreenSaver`.
- Updated README.md to reflect single build definition.
- Added feature to make disk sleep default to `Never`.
## [1.11.0] - 2018-04-11
### Added
- Added the ability to install Xcode beta builds to the `xcode` resource.
- Added support for Chef 14.
## [1.10.0] - 2018-03-26
### Added
- Added feature that allows node attributes to be set for Developer Apple ID credentials while downloading Xcode from Apple.
- Added ability to install Command Line tools from the `xcode-install` gem.
### Fixed
- Increased timeout for Xcode download for issue where method `bundle_version_correct` fails and unsuccessfully tries to access node attributes in Xcode library.
- Resolved issue where adding users and groups would fail tests.
## [1.9.0] - 2018-03-21
### Added
- Added support for other hypervisors and keep away logic.
- Implemented `-t` option in `certificate` resource to allow apps to access imported key.
- Add `utf-8` encoding type to `plist` resource to make it more robust.
## [1.8.0] - 2018-03-12
### Added
- Added a `dns_domain` property to `machine_name` resource to support FQDNs.
- Added TESTING.md documentation.
- Changed `binary` property to `encoding` to support xml and binary plist formats.
### Removed
- Removed support for `NetBIOSName` due to macOS bugs.
### Fixed
- Fixed several bugs in `plist` resource.
- Fixed typos in `machine_name` resource documentation.
## [1.7.0] - 2018-03-05
### Added
- Added the `certificate` resource, this resource manages the state of a given certificate for a specified keychain.
## [1.6.0] - 2018-02-20
### Added
- Added whitespace support for property list names and keys.
### Fixed
- Fixed some depreciation bugs in the `macos_user` resource.
- Fixed idempotency bug in `.kitchen.yml`.
## [1.5.0] - 2018-02-12
### Added
- Added new `system_preference` resource.
### Removed
- Removed `systemsetup` resource.
- Removed `.delivery` in favor of `kitchen test` and concurrency testing model.
### Fixed
- Fixed issue where `plist` resources cause incomplete idempotence on second converge by making the `keep_awake` recipe idempotent. ([Issue #15](https://github.com/Microsoft/macos-cookbook/issues/15)).
- Fixed issue where `macos_user` was not allowing users to be added to groups by creating a new `groups` property. ([Issue #40](https://github.com/Microsoft/macos-cookbook/issues/40)).
- Fixed issue where `machine_name` resource does not set `LocalHostName` by making `machine_name` idempotent and having it properly set the `LocalHostName`. ([Issue #20](https://github.com/Microsoft/macos-cookbook/issues/20)).
## [1.3.0] - 2018-02-02
### Added
- Added helper modules for `systemsetup`.
- Added new attributes to adjust the `keep_awake` functions.
- Added better functionality to the `keep_awake` power resources.
### [1.2.0] - 2018-01-28
### Added
- Initial release of the macOS Cookbook.
- Chef support for 10.10 to 10.13.
- Added `xcode` resource.
- Added `keep_awake` recipe.
- Added `spotlight` resource.
- Added `machine_name` resource.
- Added `macos_user` resource.