Release plist and macos_user resources, new Xcode libraries, test cookbook and documentation. (#24)
* first commit plistbuddy
* all recipe/plist in macos
* extract plistbuddy to resource
* Straighten out unit tests
- Correctly include modules
- Correctly setup spec_helper
- Correct unit test / respec setup
* first passing test
* add more data type tests
* Most data types passing
- Boolean values are working
- Array and data type values are not
- PlistBuddy "commands" (add, print, etc.) are passing
* More testing
- Skip Array and Dict types as their implementation will be more
complicated
- Add test for float type
- Put the correct type in the test description
- Cookstyle changes
* PlistBuddy and testing update
- Add separate test cookbook for PlistBuddy resource
- Add kitchen.yml for the above purpose
- Modify and update plistbuddy resource/helpers
* remove extra newline
* add metadata file
* edit metadata; add Berksfile
* move Berksfile to correct location
* add testing requirements for berks vendor
* move kitchen file
* Converge passing in test cookbook
- Opportunistic cleanup of xcode test
- some temp debugging info in resource definition
- Rename name_property to command so as to not override action
* Itempotence
- Removed 'bool' prefix from boolean types, as that was somehow causing
issues
- Changed name_property to the path and removed that property
- Use actual actions in the resource for the PlistBuddy commands
* Fix false positive?
- Not sure how the previous test was passing previously, but I adjusted
the boolean value for the BazEntry test so that the signature input
matches the output
* Add logic for adding a value
- The data type should only be used when adding a value to a plist.
Otherwise, we don't need to use the data type
* remove debugging; fix smoke tests
* remove .kitchen.yml
* bump version to 0.8.5
* unskip ChefSpec tests - they're passing
* mark args_formatter as private method
* Feature/macos user (#14)
* first commit add_user recipe
* Testing Refactor & macos_user resource
- Create new testing cookbook that contains tests for both plistbuddy
and macos_user resources. The hope here is to have a single testing
cookbook that contains multiple suites and suite testing variations
- Create new macos_user resource - contains single boolean 'true'
settings for autologin and admin user. Still work to be done for admin
user and all steps that need to be taken to acheive the task.
* fix method call
* fix another method call
* user native ruby File class and not overriden
* fix some minor issues with resource; add kcpassword file
* Add OG Ruby kcpassword file helper module
* slightly different approach for Kcpassword module
* passing test
* Fix up kcpassword library module, smoke tests
- Modify Kcpassword helper module to use a method for
magic bits. This isn't ideal, but it works for now
- Update smoke tests so that john_jr's group ID is 20. This
may not be correct, but setting as 20 until it is further
investigated
* opportunistic refactor of keep_awake recipe
* Refactor testing cookbook layout
- Consolodate testing suites into single default suite
- Add tests for keep_awake recipe
- Use more common examples to test PlistBuddy resource
* move xcode test to test cookbook
* Opportunistic bug fix for plistbuddy resource
- Previously, the plistbuddy resource did not allow
any keys with spaces unless they were used in the value itself.
Now, you can use keys with spaces in the value property
without needing to double-quote it
- Also, fix the PlistBuddy executable string to be correct
* revert kcpassword.rb helper to a671164
* fix incorrect PlistBuddy data type name
* Fix kcpassword.rb and update plistbuddy UTs
* Extract disabling screen saver to plistbuddy
- Also, skip Xcode test temporarily
* PlistBuddy idempotence
- Remove systemsetup and pmset resource calls in keep_awake
until they are made idempotent
* update test and plist name
* Implement binary plist conversion
- Changes to binary plists via PlistBuddy must be converted back
to binary since the change implicitly converts the file to xml.
This change contains logic to convert back to binary if the file is
detected to be binary in the first place.
* attempts at idempotence using chef helper methods
* early commit to get it on the remote
* implement logic for plist return type to ruby data type
* Add floating type value support
A wild FAILING TEST appeared!
...
HANKO used TDD!
It's super effective!
* move function
* real idempotence!
* passing all unit tests
* update test cookbook name
* update new_users integration tests
* systemsetup idempotence
* all smoke and unit tests passing
* quick fix for timezone bug
* remove kcpassword file as it is no longer needed
* update path for test cookbook to be default repo name
* Rename keep_awake_spec.rb to keep_awake_test.rb
* Rename preferences_spec.rb to preferences_test.rb
* Rename new_users_spec.rb to new_users_test.rb
* fix typo
* Use relative path for macos cookbook source
* Improve readability of relative path for macos cookbook source
* Bump version
* Addressing changes in Pull Request #14
- Fix bug where screensaver was not properly being disabled, update
tests accordingly
- Rename plistbuddy resource to plist, including all related files
and callers
- Rename kcpassword helper to macos_user to match helper -> resource
convention; fix top level namespace to be MacOS
- Correctly name recipe unit tests
- Implement plist resource into disable_software_updates.rb recipe
- Add disable_software_updates.rb recipe to default kitchen suite and
appropriate smoke tests
- Remove relatively useless logic in systemsetup value property coercion
* Implement binary plist conversion
* Fix unit test and apply the Law of Demeter
* update helper pattern to match current standard; include everywhere
* remove helper reference in Xcode resource
* bump version
* update Xcode attribute to latest
* extract xcode smoke tests to a different suite
* update xcversion path for simulators test
* update namespace again
* refactor XcodeHelper modules in XCVersion, Xcode, and XCVersion modules
updated methods to simplify site calls in resource
* updated method calls for new modules
* bump version
* extract xcversion module to separate library file
* add missing macos module
* include parent module macos instead of child for xcode and xcversion
* update available_simulator_versions to new method
* bump version
* add platform-specific smoke test for xcode
* add xcode test recipe
* update kitchen with xcode suite
* refactor simulator method to call it's own available list of simulators
* use new simulator method to find highest available version
* move xcode prep work into the setup action
* clear kitchen customizations
* lazily evalutate ios simulator property
* move lazy evaluation to simulator action in xcode resource
* revert lazy execution
* warn and retry if simulator list is empty
* restore spacing
* more whitespace
* refactor highest_semantic_simulator method into class, smaller methods
* implement simulator class
* add more xcversion command methods
* implement xcversion command methods
* implement command methods correctly
* add list methods for xcversion
* implement xcversion list methods
* implement install xcode correctly
* reorder methods
* add method to list installed xcodes
* use more descriptive name for 'command' method
* move where the space lives
* implement installed xcodes command
* implement install xcodes correctly
* disable downloads prior to disabling software update check
* Renamed name to device_name
* Change name.rb to machine_name.rb to be similar with the apex
automation cookbook. Instances of name are also all changed to
machine_name.
* Add new test recipe and smoke test for machine_name.
* add disable-swu test suite
* Bump up cookbook version numbers.
* update kitchen test suite order, remove standalone swu testing
* add sleep for El Capitan platform to avoid race condition
this occurs when integrated with the macos-user test recipe
* Improve README/Documentation (#23)
* implement build definition badge and minor tweaks
* Add descriptions and attribute lists for recipes
* Remove 'description' label from recipe names
* Bump version, add documentation dir
* Fix up the last commit
* Separate 10.12 and 10.13 build status
* Add table for build status
* Add plist resource documentation
* Add Xcode documentation
* bump version
2017-12-14 22:03:03 +03:00
|
|
|
---
|
|
|
|
driver:
|
|
|
|
name: vagrant
|
|
|
|
provider: parallels
|
|
|
|
|
|
|
|
provisioner:
|
2018-03-11 11:41:15 +03:00
|
|
|
product_name: chef
|
2018-10-27 06:22:22 +03:00
|
|
|
multiple_converge: 2
|
Release plist and macos_user resources, new Xcode libraries, test cookbook and documentation. (#24)
* first commit plistbuddy
* all recipe/plist in macos
* extract plistbuddy to resource
* Straighten out unit tests
- Correctly include modules
- Correctly setup spec_helper
- Correct unit test / respec setup
* first passing test
* add more data type tests
* Most data types passing
- Boolean values are working
- Array and data type values are not
- PlistBuddy "commands" (add, print, etc.) are passing
* More testing
- Skip Array and Dict types as their implementation will be more
complicated
- Add test for float type
- Put the correct type in the test description
- Cookstyle changes
* PlistBuddy and testing update
- Add separate test cookbook for PlistBuddy resource
- Add kitchen.yml for the above purpose
- Modify and update plistbuddy resource/helpers
* remove extra newline
* add metadata file
* edit metadata; add Berksfile
* move Berksfile to correct location
* add testing requirements for berks vendor
* move kitchen file
* Converge passing in test cookbook
- Opportunistic cleanup of xcode test
- some temp debugging info in resource definition
- Rename name_property to command so as to not override action
* Itempotence
- Removed 'bool' prefix from boolean types, as that was somehow causing
issues
- Changed name_property to the path and removed that property
- Use actual actions in the resource for the PlistBuddy commands
* Fix false positive?
- Not sure how the previous test was passing previously, but I adjusted
the boolean value for the BazEntry test so that the signature input
matches the output
* Add logic for adding a value
- The data type should only be used when adding a value to a plist.
Otherwise, we don't need to use the data type
* remove debugging; fix smoke tests
* remove .kitchen.yml
* bump version to 0.8.5
* unskip ChefSpec tests - they're passing
* mark args_formatter as private method
* Feature/macos user (#14)
* first commit add_user recipe
* Testing Refactor & macos_user resource
- Create new testing cookbook that contains tests for both plistbuddy
and macos_user resources. The hope here is to have a single testing
cookbook that contains multiple suites and suite testing variations
- Create new macos_user resource - contains single boolean 'true'
settings for autologin and admin user. Still work to be done for admin
user and all steps that need to be taken to acheive the task.
* fix method call
* fix another method call
* user native ruby File class and not overriden
* fix some minor issues with resource; add kcpassword file
* Add OG Ruby kcpassword file helper module
* slightly different approach for Kcpassword module
* passing test
* Fix up kcpassword library module, smoke tests
- Modify Kcpassword helper module to use a method for
magic bits. This isn't ideal, but it works for now
- Update smoke tests so that john_jr's group ID is 20. This
may not be correct, but setting as 20 until it is further
investigated
* opportunistic refactor of keep_awake recipe
* Refactor testing cookbook layout
- Consolodate testing suites into single default suite
- Add tests for keep_awake recipe
- Use more common examples to test PlistBuddy resource
* move xcode test to test cookbook
* Opportunistic bug fix for plistbuddy resource
- Previously, the plistbuddy resource did not allow
any keys with spaces unless they were used in the value itself.
Now, you can use keys with spaces in the value property
without needing to double-quote it
- Also, fix the PlistBuddy executable string to be correct
* revert kcpassword.rb helper to a671164
* fix incorrect PlistBuddy data type name
* Fix kcpassword.rb and update plistbuddy UTs
* Extract disabling screen saver to plistbuddy
- Also, skip Xcode test temporarily
* PlistBuddy idempotence
- Remove systemsetup and pmset resource calls in keep_awake
until they are made idempotent
* update test and plist name
* Implement binary plist conversion
- Changes to binary plists via PlistBuddy must be converted back
to binary since the change implicitly converts the file to xml.
This change contains logic to convert back to binary if the file is
detected to be binary in the first place.
* attempts at idempotence using chef helper methods
* early commit to get it on the remote
* implement logic for plist return type to ruby data type
* Add floating type value support
A wild FAILING TEST appeared!
...
HANKO used TDD!
It's super effective!
* move function
* real idempotence!
* passing all unit tests
* update test cookbook name
* update new_users integration tests
* systemsetup idempotence
* all smoke and unit tests passing
* quick fix for timezone bug
* remove kcpassword file as it is no longer needed
* update path for test cookbook to be default repo name
* Rename keep_awake_spec.rb to keep_awake_test.rb
* Rename preferences_spec.rb to preferences_test.rb
* Rename new_users_spec.rb to new_users_test.rb
* fix typo
* Use relative path for macos cookbook source
* Improve readability of relative path for macos cookbook source
* Bump version
* Addressing changes in Pull Request #14
- Fix bug where screensaver was not properly being disabled, update
tests accordingly
- Rename plistbuddy resource to plist, including all related files
and callers
- Rename kcpassword helper to macos_user to match helper -> resource
convention; fix top level namespace to be MacOS
- Correctly name recipe unit tests
- Implement plist resource into disable_software_updates.rb recipe
- Add disable_software_updates.rb recipe to default kitchen suite and
appropriate smoke tests
- Remove relatively useless logic in systemsetup value property coercion
* Implement binary plist conversion
* Fix unit test and apply the Law of Demeter
* update helper pattern to match current standard; include everywhere
* remove helper reference in Xcode resource
* bump version
* update Xcode attribute to latest
* extract xcode smoke tests to a different suite
* update xcversion path for simulators test
* update namespace again
* refactor XcodeHelper modules in XCVersion, Xcode, and XCVersion modules
updated methods to simplify site calls in resource
* updated method calls for new modules
* bump version
* extract xcversion module to separate library file
* add missing macos module
* include parent module macos instead of child for xcode and xcversion
* update available_simulator_versions to new method
* bump version
* add platform-specific smoke test for xcode
* add xcode test recipe
* update kitchen with xcode suite
* refactor simulator method to call it's own available list of simulators
* use new simulator method to find highest available version
* move xcode prep work into the setup action
* clear kitchen customizations
* lazily evalutate ios simulator property
* move lazy evaluation to simulator action in xcode resource
* revert lazy execution
* warn and retry if simulator list is empty
* restore spacing
* more whitespace
* refactor highest_semantic_simulator method into class, smaller methods
* implement simulator class
* add more xcversion command methods
* implement xcversion command methods
* implement command methods correctly
* add list methods for xcversion
* implement xcversion list methods
* implement install xcode correctly
* reorder methods
* add method to list installed xcodes
* use more descriptive name for 'command' method
* move where the space lives
* implement installed xcodes command
* implement install xcodes correctly
* disable downloads prior to disabling software update check
* Renamed name to device_name
* Change name.rb to machine_name.rb to be similar with the apex
automation cookbook. Instances of name are also all changed to
machine_name.
* Add new test recipe and smoke test for machine_name.
* add disable-swu test suite
* Bump up cookbook version numbers.
* update kitchen test suite order, remove standalone swu testing
* add sleep for El Capitan platform to avoid race condition
this occurs when integrated with the macos-user test recipe
* Improve README/Documentation (#23)
* implement build definition badge and minor tweaks
* Add descriptions and attribute lists for recipes
* Remove 'description' label from recipe names
* Bump version, add documentation dir
* Fix up the last commit
* Separate 10.12 and 10.13 build status
* Add table for build status
* Add plist resource documentation
* Add Xcode documentation
* bump version
2017-12-14 22:03:03 +03:00
|
|
|
|
|
|
|
verifier:
|
|
|
|
name: inspec
|
|
|
|
sudo: true
|
2019-01-18 03:45:23 +03:00
|
|
|
reporter:
|
2018-07-07 02:58:59 +03:00
|
|
|
- cli
|
2019-01-18 03:45:23 +03:00
|
|
|
- junit:/tmp/%{suite}-%{platform}-inspec.xml
|
2018-03-27 00:06:33 +03:00
|
|
|
inspec_tests:
|
|
|
|
- test/integration/default
|
Release plist and macos_user resources, new Xcode libraries, test cookbook and documentation. (#24)
* first commit plistbuddy
* all recipe/plist in macos
* extract plistbuddy to resource
* Straighten out unit tests
- Correctly include modules
- Correctly setup spec_helper
- Correct unit test / respec setup
* first passing test
* add more data type tests
* Most data types passing
- Boolean values are working
- Array and data type values are not
- PlistBuddy "commands" (add, print, etc.) are passing
* More testing
- Skip Array and Dict types as their implementation will be more
complicated
- Add test for float type
- Put the correct type in the test description
- Cookstyle changes
* PlistBuddy and testing update
- Add separate test cookbook for PlistBuddy resource
- Add kitchen.yml for the above purpose
- Modify and update plistbuddy resource/helpers
* remove extra newline
* add metadata file
* edit metadata; add Berksfile
* move Berksfile to correct location
* add testing requirements for berks vendor
* move kitchen file
* Converge passing in test cookbook
- Opportunistic cleanup of xcode test
- some temp debugging info in resource definition
- Rename name_property to command so as to not override action
* Itempotence
- Removed 'bool' prefix from boolean types, as that was somehow causing
issues
- Changed name_property to the path and removed that property
- Use actual actions in the resource for the PlistBuddy commands
* Fix false positive?
- Not sure how the previous test was passing previously, but I adjusted
the boolean value for the BazEntry test so that the signature input
matches the output
* Add logic for adding a value
- The data type should only be used when adding a value to a plist.
Otherwise, we don't need to use the data type
* remove debugging; fix smoke tests
* remove .kitchen.yml
* bump version to 0.8.5
* unskip ChefSpec tests - they're passing
* mark args_formatter as private method
* Feature/macos user (#14)
* first commit add_user recipe
* Testing Refactor & macos_user resource
- Create new testing cookbook that contains tests for both plistbuddy
and macos_user resources. The hope here is to have a single testing
cookbook that contains multiple suites and suite testing variations
- Create new macos_user resource - contains single boolean 'true'
settings for autologin and admin user. Still work to be done for admin
user and all steps that need to be taken to acheive the task.
* fix method call
* fix another method call
* user native ruby File class and not overriden
* fix some minor issues with resource; add kcpassword file
* Add OG Ruby kcpassword file helper module
* slightly different approach for Kcpassword module
* passing test
* Fix up kcpassword library module, smoke tests
- Modify Kcpassword helper module to use a method for
magic bits. This isn't ideal, but it works for now
- Update smoke tests so that john_jr's group ID is 20. This
may not be correct, but setting as 20 until it is further
investigated
* opportunistic refactor of keep_awake recipe
* Refactor testing cookbook layout
- Consolodate testing suites into single default suite
- Add tests for keep_awake recipe
- Use more common examples to test PlistBuddy resource
* move xcode test to test cookbook
* Opportunistic bug fix for plistbuddy resource
- Previously, the plistbuddy resource did not allow
any keys with spaces unless they were used in the value itself.
Now, you can use keys with spaces in the value property
without needing to double-quote it
- Also, fix the PlistBuddy executable string to be correct
* revert kcpassword.rb helper to a671164
* fix incorrect PlistBuddy data type name
* Fix kcpassword.rb and update plistbuddy UTs
* Extract disabling screen saver to plistbuddy
- Also, skip Xcode test temporarily
* PlistBuddy idempotence
- Remove systemsetup and pmset resource calls in keep_awake
until they are made idempotent
* update test and plist name
* Implement binary plist conversion
- Changes to binary plists via PlistBuddy must be converted back
to binary since the change implicitly converts the file to xml.
This change contains logic to convert back to binary if the file is
detected to be binary in the first place.
* attempts at idempotence using chef helper methods
* early commit to get it on the remote
* implement logic for plist return type to ruby data type
* Add floating type value support
A wild FAILING TEST appeared!
...
HANKO used TDD!
It's super effective!
* move function
* real idempotence!
* passing all unit tests
* update test cookbook name
* update new_users integration tests
* systemsetup idempotence
* all smoke and unit tests passing
* quick fix for timezone bug
* remove kcpassword file as it is no longer needed
* update path for test cookbook to be default repo name
* Rename keep_awake_spec.rb to keep_awake_test.rb
* Rename preferences_spec.rb to preferences_test.rb
* Rename new_users_spec.rb to new_users_test.rb
* fix typo
* Use relative path for macos cookbook source
* Improve readability of relative path for macos cookbook source
* Bump version
* Addressing changes in Pull Request #14
- Fix bug where screensaver was not properly being disabled, update
tests accordingly
- Rename plistbuddy resource to plist, including all related files
and callers
- Rename kcpassword helper to macos_user to match helper -> resource
convention; fix top level namespace to be MacOS
- Correctly name recipe unit tests
- Implement plist resource into disable_software_updates.rb recipe
- Add disable_software_updates.rb recipe to default kitchen suite and
appropriate smoke tests
- Remove relatively useless logic in systemsetup value property coercion
* Implement binary plist conversion
* Fix unit test and apply the Law of Demeter
* update helper pattern to match current standard; include everywhere
* remove helper reference in Xcode resource
* bump version
* update Xcode attribute to latest
* extract xcode smoke tests to a different suite
* update xcversion path for simulators test
* update namespace again
* refactor XcodeHelper modules in XCVersion, Xcode, and XCVersion modules
updated methods to simplify site calls in resource
* updated method calls for new modules
* bump version
* extract xcversion module to separate library file
* add missing macos module
* include parent module macos instead of child for xcode and xcversion
* update available_simulator_versions to new method
* bump version
* add platform-specific smoke test for xcode
* add xcode test recipe
* update kitchen with xcode suite
* refactor simulator method to call it's own available list of simulators
* use new simulator method to find highest available version
* move xcode prep work into the setup action
* clear kitchen customizations
* lazily evalutate ios simulator property
* move lazy evaluation to simulator action in xcode resource
* revert lazy execution
* warn and retry if simulator list is empty
* restore spacing
* more whitespace
* refactor highest_semantic_simulator method into class, smaller methods
* implement simulator class
* add more xcversion command methods
* implement xcversion command methods
* implement command methods correctly
* add list methods for xcversion
* implement xcversion list methods
* implement install xcode correctly
* reorder methods
* add method to list installed xcodes
* use more descriptive name for 'command' method
* move where the space lives
* implement installed xcodes command
* implement install xcodes correctly
* disable downloads prior to disabling software update check
* Renamed name to device_name
* Change name.rb to machine_name.rb to be similar with the apex
automation cookbook. Instances of name are also all changed to
machine_name.
* Add new test recipe and smoke test for machine_name.
* add disable-swu test suite
* Bump up cookbook version numbers.
* update kitchen test suite order, remove standalone swu testing
* add sleep for El Capitan platform to avoid race condition
this occurs when integrated with the macos-user test recipe
* Improve README/Documentation (#23)
* implement build definition badge and minor tweaks
* Add descriptions and attribute lists for recipes
* Remove 'description' label from recipe names
* Bump version, add documentation dir
* Fix up the last commit
* Separate 10.12 and 10.13 build status
* Add table for build status
* Add plist resource documentation
* Add Xcode documentation
* bump version
2017-12-14 22:03:03 +03:00
|
|
|
|
|
|
|
platforms:
|
2021-06-04 22:05:02 +03:00
|
|
|
- name: mojave-chef17
|
2018-10-05 00:46:56 +03:00
|
|
|
driver:
|
|
|
|
box: microsoft/macos-mojave
|
2019-08-03 01:43:01 +03:00
|
|
|
box_version: 10.14.6
|
2019-08-13 21:28:16 +03:00
|
|
|
provisioner:
|
2021-06-04 22:05:02 +03:00
|
|
|
product_version: 17
|
2019-08-13 21:28:16 +03:00
|
|
|
|
2021-06-04 22:05:02 +03:00
|
|
|
- name: catalina-chef17
|
2019-08-13 21:28:16 +03:00
|
|
|
driver:
|
2019-09-25 22:34:53 +03:00
|
|
|
box: microsoft/macos-catalina
|
2021-02-11 06:43:05 +03:00
|
|
|
box_version: 10.15.7
|
2019-08-13 21:28:16 +03:00
|
|
|
provisioner:
|
2021-06-04 22:05:02 +03:00
|
|
|
product_version: 17
|
2019-08-13 21:28:16 +03:00
|
|
|
|
2021-06-04 22:05:02 +03:00
|
|
|
- name: big-sur-chef17
|
2020-07-24 22:30:19 +03:00
|
|
|
driver:
|
|
|
|
box: microsoft/macos-big-sur
|
2021-06-10 05:13:38 +03:00
|
|
|
box_version: 11.4
|
|
|
|
provisioner:
|
|
|
|
product_version: 17
|
|
|
|
|
|
|
|
- name: monterey-chef17
|
2021-06-10 05:24:06 +03:00
|
|
|
driver:
|
|
|
|
box: microsoft/macos-big-sur
|
|
|
|
box_version: 12.0-21A5248p
|
2020-07-24 22:30:19 +03:00
|
|
|
provisioner:
|
2021-06-04 22:05:02 +03:00
|
|
|
product_version: 17
|
2020-07-24 22:30:19 +03:00
|
|
|
|
2018-04-11 00:06:19 +03:00
|
|
|
suites:
|
|
|
|
- name: default
|
2018-10-27 06:22:22 +03:00
|
|
|
provisioner:
|
2019-12-07 03:20:07 +03:00
|
|
|
multiple_converge: 3
|
2018-10-27 06:22:22 +03:00
|
|
|
enforce_idempotency: true
|
2018-03-27 00:06:33 +03:00
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::preferences]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- dock-appearance
|
|
|
|
- show-all-files
|
2018-11-22 02:04:00 +03:00
|
|
|
- plist-creation
|
2018-03-13 02:46:41 +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
|
|
|
- name: software-updates
|
|
|
|
provisioner:
|
|
|
|
enforce_idempotency: true
|
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::disable_software_updates]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- updates-disabled
|
|
|
|
|
2018-03-27 00:06:33 +03:00
|
|
|
- name: spotlight
|
2018-10-27 06:22:22 +03:00
|
|
|
provisioner:
|
|
|
|
enforce_idempotency: true
|
2018-03-27 00:06:33 +03:00
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::spotlight]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- indexing-and-searching
|
2018-01-29 01:23:38 +03:00
|
|
|
|
2019-01-18 03:45:23 +03:00
|
|
|
- name: xcode-from-apple
|
2018-03-27 00:06:33 +03:00
|
|
|
run_list:
|
2019-01-18 03:45:23 +03:00
|
|
|
- recipe[macos_test::xcode_from_apple]
|
2018-03-27 00:06:33 +03:00
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- xcode-and-simulators
|
2018-04-03 01:11:04 +03:00
|
|
|
|
2019-01-18 03:45:23 +03:00
|
|
|
- name: xcode-from-url
|
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::xcode_from_url]
|
|
|
|
attributes:
|
|
|
|
xcode:
|
|
|
|
download_url: <%= ENV['XCODE_URL'] %>
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- xcode-and-simulators
|
|
|
|
|
|
|
|
- name: command-line-tools
|
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::command_line_tools]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- command-line-tool-sentinel
|
2019-10-01 02:58:38 +03:00
|
|
|
- xcrun
|
2019-01-18 03:45:23 +03:00
|
|
|
|
2018-03-27 00:06:33 +03:00
|
|
|
- name: certificate
|
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::certificate]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- certificate-install
|
|
|
|
|
|
|
|
- name: users
|
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::new_users]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- admin-user
|
|
|
|
- standard-user
|
2018-07-07 02:58:59 +03:00
|
|
|
- hidden-user
|
|
|
|
|
2019-01-18 03:45:23 +03:00
|
|
|
- name: delete-users
|
2018-07-07 02:58:59 +03:00
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::delete_users]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- test-user
|
2018-04-16 20:04:37 +03:00
|
|
|
|
|
|
|
- name: keychain
|
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::keychain]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- keychain-creation
|
|
|
|
- login-keychain-creation
|
|
|
|
- default-keychain-creation
|
2018-10-05 00:46:56 +03:00
|
|
|
|
|
|
|
- name: remote-access
|
2018-10-27 06:22:22 +03:00
|
|
|
provisioner:
|
|
|
|
enforce_idempotency: true
|
2018-10-05 00:46:56 +03:00
|
|
|
run_list:
|
|
|
|
- recipe[macos_test::remote_access]
|
|
|
|
verifier:
|
|
|
|
controls:
|
|
|
|
- remote-control
|