Граф коммитов

135 Коммитов

Автор SHA1 Сообщение Дата
Jacob Zaval 4549d064af fix user unit test 2024-04-04 14:41:32 -07:00
Jacob Zaval c55cf19a69 change kcpassword contents for no password 2024-02-01 17:26:11 -08:00
Jacob Zaval 45c463f01f update macos_user to handle a nil password property and update unit tests 2024-01-31 21:12:13 -08:00
Jacob Zaval 3892b5c351 update kcpassword helper to handle nil password 2024-01-31 20:56:25 -08:00
Jacob Zaval d26b46e492 fix CLT UTs 2023-10-18 15:55:05 -07:00
Jacob Zaval 080499c0de
Merge branch 'release/6.0.0' into feature/sonoma-clt 2023-10-17 17:40:40 -07:00
Matthew Swartz 1d9d641bb2 removing plist spec 2023-10-12 15:18:17 -07:00
Matthew Swartz d695e3e63b remove explicit ref to local plist library 2023-10-12 15:07:48 -07:00
Jacob Zaval 866933e4a0 update spec 2023-06-26 18:42:36 -07:00
Jacob Zaval a285ade5ec update spec 2023-06-26 18:27:34 -07:00
Jared Weyer 8891bd2571 Merge branch 'dev/jweyer/remote_management_updates' into release/6.0.0 2023-06-26 17:56:46 -07:00
Jacob Zaval e9d015e8cb always generate CLT demand file 2023-06-26 17:56:13 -07:00
Jacob Zaval d4d0a44fd4
Merge branch 'release/6.0.0' into release/6.0.0 2023-06-24 12:03:20 -07:00
Jared Weyer 089714afd7 update clt ut 2023-06-23 12:47:44 -07:00
Jared Weyer f022984b98 Merge branch 'dev/jweyer/remote_management_updates' into release/6.0.0 2023-06-20 11:38:08 -07:00
Jared Weyer ff0f0a59cb remove the UTs for the plist resource 2023-06-20 11:17:54 -07:00
Jared Weyer cca16fce1d fix computer info coerce bug 2023-04-28 12:51:36 -07:00
Jared Weyer 45cbc28868 Check if SIP is enabled 2023-03-14 15:10:24 -07:00
Jared Weyer fbd9eabc1e UT updates 2023-03-14 10:01:57 -07:00
Jared Weyer 4c4244d72d update UTs 2023-03-13 16:00:43 -07:00
Jared Weyer ca0de90a94 add ability to convert priv value and priv mask objects to an array of the correlated privileges 2023-03-13 11:04:01 -07:00
Jared Weyer 74cce8e6a6 create value and mask class 2023-03-13 09:08:46 -07:00
Jared Weyer 302af6f57f create Privileges module for clarity 2023-03-10 14:11:51 -08:00
Jared Weyer 13c9571fff update UTs 2023-03-10 12:31:57 -08:00
Jared Weyer b3f3709d95 fix users_configured? bug. Added UTs 2023-03-10 09:49:18 -08:00
Jared Weyer dc10128d4f update UT to account for TCC seperation 2023-03-09 14:24:55 -08:00
Jared Weyer 8805405f21 Update UTs for remote management resource 2023-03-09 09:35:24 -08:00
Jared Weyer 30484b3529 update UTs for remote management lib 2023-03-09 09:34:55 -08:00
Gustave Granroth 31980b321a
Better check for if Xcode is properly installed (#270)
* Better check for if Xcode is properly installed

* Update metadata and changelog too

* Update libraries/xcode.rb

Co-authored-by: aaronclarke <aaclarke@microsoft.com>

* Update libraries/xcode.rb

Co-authored-by: aaronclarke <aaclarke@microsoft.com>

* Fix installed_path to current_path (which isn't a Hash) and stub shell_out to return the expected result

Co-authored-by: Gustave Granroth <gugra@microsoft.com>
Co-authored-by: aaronclarke <aaclarke@microsoft.com>
2022-11-21 08:51:05 -08:00
Gustave Granroth f20bdc2fe0
Add more Xcode logging to better tell what Xcode version is being installed (#269)
Remove a control for a test that does not exist
Call the log command with credentials.
Fix tests expecting side-effects from xcode.version.call. Fix logging to not attempt to auth when no credentials will exist (using a download URL).

Co-authored-by: Gustave Granroth <gugra@microsoft.com>
2022-11-16 13:07:00 -08:00
Jacob Zaval 03376581ad update tests for keyword style args 2022-04-07 16:15:59 -07:00
Jacob Zaval b27f07f57a add unit test for Mac Studio support 2022-03-29 23:21:33 -07:00
Jacob Zaval 6c0636f733 update xcode library tests for proc 2022-03-08 14:43:22 -08:00
Jacob Zaval 472e6f9d56 update resource test for new name field 2022-03-08 14:35:07 -08:00
Jacob Zaval 68a2661f03 update resource unit tests 2022-03-07 17:59:07 -08:00
Jacob Zaval 3275845a06 add some resource unit tests 2022-03-04 19:34:35 -08:00
Jacob Zaval 92b864a2f8 obey new rubocop rules 2022-03-04 12:36:17 -08:00
Jacob Zaval feb3bb7414 cookstyle plist test 2022-03-04 12:22:48 -08:00
Jacob Zaval 3dbfccaaf7 cookstyle xcode spec 2022-03-04 12:22:14 -08:00
Mark John Merin 0618fa9190 update test to use new command parameters 2022-02-11 14:19:14 -08:00
Gustave Granroth 151db4245d
Fix defaults data conversion (#242)
* Fix array and string serialization to be in the proper format that 'defaults' expects.
* Implement dictionary support.
* update CL and metadata
* typo

Co-authored-by: Gustave Granroth <gugra@microsoft.com>, Aaron Clarke<aaclarke@microsoft.com>, Hurlink Vongsachang <hvongsachang@microsoft.com>, and Jacob Zaval <jazava@microsoft.com>
2021-10-19 15:56:28 -07:00
Jacob Zaval 460af702eb update mock Xcode catalog data for new 'Release Candidate' string 2021-09-14 14:47:13 -07:00
Jacob Zaval 59567af3d4 remove keep awake recipe and tests 2021-02-25 15:44:09 -08:00
Jacob Zaval 09e87f740d update unit tests with changes to available_versions output 2021-02-25 12:45:40 -08:00
Jacob Zaval d6fce7270a update fauxhai data for spotlight spec tests. 2021-02-10 13:20:26 -08:00
Mark John Merin afcb8efb78 add plist method to SystemPath along with corresponding spec tests 2020-09-25 11:15:53 -07:00
Jacob Zaval b6bcd7b22a fallback to exact version if we're not working with a beta 2020-08-04 16:24:20 -07:00
Jacob Zaval 4d8a744bcc recognize latest beta when available 2020-08-04 15:39:23 -07:00
Jacob Zaval 41480458b0 failing test for xcode 12 2020-08-04 11:25:47 -07:00
Jacob Zaval e333d8c83f update xcode spec tests for beta 12 2020-08-04 11:23:06 -07:00