2018-08-16 00:22:16 +03:00
# Changelog
2019-01-18 03:45:23 +03:00
2021-06-10 05:13:43 +03:00
## [4.2.0] - 2020-06-09
### Added
- Added basic support and testing for macOS Monterey.
### Removed
- Removed testing and official support for macOS High Sierra.
- Removed testing and official support for Chef 16.
### Fixed
- The `command_line_tools` OS version parsing regex has been fixed for the new macOS versioning scheme.
2021-06-07 19:30:09 +03:00
## [4.1.0] - 2020-06-07
2021-06-04 23:54:16 +03:00
### Added
2021-06-07 19:48:02 +03:00
- Added support for [Chef 17 ](https://docs.chef.io/release_notes_client/#whats-new-in-170 ). macOS High Sierra test suites will still be utilizing Chef 16.
- Added `unified_mode true` to all resources. See [Unified Mode in Custom Resources][unified-mode-in-custom-resources] for more information.
2021-06-04 23:54:16 +03:00
2021-02-26 02:46:28 +03:00
## [4.0.0] - 2020-02-25
### Removed
- Deleted last deprecated recipe `macos::keep_awake` and associated tests.
2021-02-25 23:48:36 +03:00
## [3.4.3] - 2020-02-25
### Fixed
2021-02-26 02:47:49 +03:00
- Updated `XCVersion` library `available_versions` output to _actually_ not include "(installed)" status, as well as chomp newline characters.
2021-02-25 23:48:36 +03:00
- Updated unit tests to match new `XCVersion.available_versions` output.
2021-02-11 00:17:05 +03:00
## [3.4.2] - 2020-02-10
### Fixed
2021-02-11 00:21:58 +03:00
- Updated `xcversion` library `list` output to not include "(installed)" status, since this is determined separately in the `xcode` resource. The additional string content was breaking parsing that prevents installation on non-complete Xcode bundles such as `12 for macOS Universal Apps` .
2021-02-11 00:17:05 +03:00
- Fixes for Cookstyle version: 7.7.2
2021-02-11 00:21:58 +03:00
### Removed
- Removed ChefSpec testing on deprecated Fauxhai platforms
2020-09-25 21:16:04 +03:00
## [3.4.1] - 2020-09-25
### Added
2021-02-11 00:17:34 +03:00
- Added `plist` method to `SystemPath` library to match the methods in `UserPath` .
2020-09-25 21:16:04 +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`
2021-02-11 00:17:34 +03:00
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.
2020-08-05 21:14:43 +03:00
2020-08-06 00:57:10 +03:00
- Deprecation notice for `macos::keep_awake` .
2020-08-05 21:14:43 +03:00
### Fixed
2021-02-11 00:17:34 +03:00
- 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).
2020-08-05 21:14:43 +03:00
2020-08-06 00:07:07 +03:00
- The `macos_user` resource now prevents the screen from re-locking at boot when auto-login is enabled.
2020-08-05 21:14:43 +03:00
- The `command_line_tools` OS version parsing regex has been fixed for macOS 11.0
2020-08-06 01:55:29 +03:00
- The `automatic_software_updates` resource tests have been fixed for macOS 11.0
2020-08-05 21:14:43 +03:00
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
2021-02-11 00:17:34 +03:00
version if both were still available from Apple.
2020-06-19 00:04:39 +03:00
- 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
2021-02-11 00:17:34 +03:00
- 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.
2020-03-04 03:11:15 +03:00
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
2021-02-11 00:17:34 +03:00
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
2019-08-03 01:43:01 +03:00
## [3.0.8] - 2019-07-31
### Fixed
2021-02-11 00:17:34 +03:00
2019-08-03 01:43:01 +03:00
- Fixed an issue where Xcode versions containing whitespace were not properly quoted in command execution. Regression from version 2.10 release.
2019-03-26 21:15:31 +03:00
## [3.0.1] - 2019-03-15
Thanks to @jkronborg for these two fixes!
### Fixed
2021-02-11 00:17:34 +03:00
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.
2019-08-03 01:43:01 +03:00
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
2021-02-11 00:17:34 +03:00
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
- 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
2021-02-11 00:17:34 +03:00
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
- 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
2021-02-11 00:17:34 +03:00
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
- Fixed .mailmap file to accurately track contributor emails.
- Fixed guard in the `keychain` resource for the `:create` action.
### Removed
2021-02-11 00:17:34 +03:00
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
- 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
2019-01-31 02:04:43 +03:00
## [2.10.1] - 2019-01-29
### Fixed
2021-02-11 00:17:34 +03:00
2019-01-31 02:04:43 +03:00
- 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
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.
2018-12-07 01:38:51 +03:00
## [2.9.0] - 2018-12-06
2019-01-18 03:45:23 +03:00
2018-12-07 01:38:51 +03:00
### Added
2019-01-18 03:45:23 +03:00
2018-12-21 20:39:57 +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-12-07 01:38:51 +03:00
2018-11-30 00:48:28 +03:00
## [2.8.1] - 2018-11-29
2019-01-18 03:45:23 +03:00
2018-11-30 00:48:28 +03:00
### Fixed
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.
2018-11-20 23:04:31 +03:00
## [2.8.0] - 2018-11-14
2019-01-18 03:45:23 +03:00
2018-11-20 23:04:31 +03:00
### Added
2019-01-18 03:45:23 +03:00
2018-11-20 23:04:31 +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
2019-01-18 03:45:23 +03:00
2018-11-20 23:04:31 +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.
2018-08-16 00:22:16 +03:00
2018-10-27 06:22:22 +03:00
## [2.7.0] - 2018-10-26
2019-01-18 03:45:23 +03:00
2018-10-27 06:22:22 +03:00
### Added
2019-01-18 03:45:23 +03:00
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
2021-02-11 00:17:34 +03:00
as a result. More enforcing by the idempotence police to come in future releases.
2018-10-27 06:22:22 +03:00
### Removed
2021-02-11 00:17:34 +03:00
2018-10-27 06:22:22 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-27 06:22:22 +03:00
- 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
2021-02-11 00:17:34 +03:00
`mdutil` commands were re-ran when not needed.
2018-10-27 06:22:22 +03:00
2018-10-05 21:51:42 +03:00
## [2.6.1] - 2018-10-04
2021-02-11 00:17:34 +03:00
2018-10-05 21:51:42 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 21:51:42 +03:00
- The desert took its toll, the README now declares support for Mojave!
2018-10-05 00:46:56 +03:00
## [2.6.0] - 2018-10-03
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Apple has limited some kickstart command functionality in macOS Mojave, preventing screen
2021-02-11 00:17:34 +03:00
control in some invocations. We verified the `ard` resource's implementation of the `kickstart` script still functions.
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Prevented the `xcode` resource from leaving available Command Line Tools downloads
2021-02-11 00:17:34 +03:00
in Software Updates.
2018-10-05 00:46:56 +03:00
### Deprecated
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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.
2018-09-11 19:36:04 +03:00
## [2.5.0] - 2018-09-10
2021-02-11 00:17:34 +03:00
2018-09-11 19:36:04 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Added `CHANGELOG.md` , About time right? ([Issue #122 ](https://github.com/Microsoft/macos-cookbook/issues/122)).
2018-09-11 19:36:04 +03:00
- Added functional `path` property to Xcode resource. ([Issue #116 ](https://github.com/Microsoft/macos-cookbook/issues/116)).
- Added ChefSpec resource tests for Xcode.
### Fixed
2021-02-11 00:17:34 +03:00
2018-09-11 19:36:04 +03:00
- Separated extra responsibilities of Xcode resource into DeveloperAccount and
2021-02-11 00:17:34 +03:00
CommandLineTools libraries.
2018-09-11 19:36:04 +03:00
2018-08-16 21:05:58 +03:00
## [2.4.0] - 2018-08-16
2021-02-11 00:17:34 +03:00
2018-08-16 00:22:16 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-08-16 00:22:16 +03:00
- Added `CHANGELOG.md` . ([Issue #122 ](https://github.com/Microsoft/macos-cookbook/issues/122)).
### Removed
2021-02-11 00:17:34 +03:00
2018-08-16 00:22:16 +03:00
- `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
2021-02-11 00:17:34 +03:00
2018-08-16 00:22:16 +03:00
- 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)).
2018-10-05 00:46:56 +03:00
## [2.3.0] - 2018-06-28
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Created an autologin functionality on 10.13.4 to allow for machine to automatically login to the machine.
## [2.0.0] - 2018-05-09
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Removed
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Added a CONTRIBUTING.md to outline the Chef Community Guidelines for code contribution.
### Fixed
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Added the ability to install Xcode beta builds to the `xcode` resource.
- Added support for Chef 14.
## [1.10.0] - 2018-03-26
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Removed support for `NetBIOSName` due to macOS bugs.
### Fixed
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Fixed several bugs in `plist` resource.
- Fixed typos in `machine_name` resource documentation.
## [1.7.0] - 2018-03-05
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Added the `certificate` resource, this resource manages the state of a given certificate for a specified keychain.
## [1.6.0] - 2018-02-20
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Added whitespace support for property list names and keys.
### Fixed
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Fixed some depreciation bugs in the `macos_user` resource.
- Fixed idempotency bug in `.kitchen.yml` .
## [1.5.0] - 2018-02-12
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Added new `system_preference` resource.
### Removed
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- Removed `systemsetup` resource.
- Removed `.delivery` in favor of `kitchen test` and concurrency testing model.
### Fixed
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
### Added
2021-02-11 00:17:34 +03:00
2018-10-05 00:46:56 +03:00
- 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.
2021-06-04 23:54:16 +03:00
[unified-mode-in-custom-resources]: https://docs.chef.io/release_notes_client/#unified-mode-in-custom-resources