Jared Weyer
fbd9eabc1e
UT updates
2023-03-14 10:01:57 -07:00
Jared Weyer
0f6457db10
overide inspect for Mask class for better chef logs
2023-03-14 10:01:45 -07:00
Jared Weyer
f4bde4fef4
updates to docs
2023-03-14 10:00:50 -07:00
Jared Weyer
4c4244d72d
update UTs
2023-03-13 16:00:43 -07:00
Jared Weyer
a71fa39f32
coerce to mask object instead of an int
2023-03-13 16:00:26 -07:00
Jared Weyer
b0cf03873e
have value and mask class do validation of privileges.
2023-03-13 15:59:39 -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
80da7def4f
dry out identical class and instance methods
2023-03-13 09:31:32 -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
a23e8c400a
handle plist parse returning nil better
2023-03-10 12:49:40 -08:00
Jared Weyer
13c9571fff
update UTs
2023-03-10 12:31:57 -08:00
Jared Weyer
091a9825c5
use updated method names
2023-03-10 12:31:23 -08:00
Jared Weyer
719d2b0cb9
clean up lib method names
2023-03-10 12:30:36 -08:00
Jared Weyer
d6f2c39b3d
current value does not exist if specified users do not share the same mask.
2023-03-10 10:59:07 -08:00
Jared Weyer
b3f3709d95
fix users_configured? bug. Added UTs
2023-03-10 09:49:18 -08:00
Jared Weyer
db06526a53
update guard to account for TCC seperate module
2023-03-09 16:26:04 -08:00
Jared Weyer
8316b58e3d
value does not exist if desired users are not configured. Plus fix typos
2023-03-09 16:25:19 -08:00
Jared Weyer
579fdff411
fix flaw in logic when users is set to "all". fix bug where fetch was looking for and array not a string
2023-03-09 16:24:06 -08:00
Jared Weyer
dc10128d4f
update UT to account for TCC seperation
2023-03-09 14:24:55 -08:00
Jared Weyer
7333f47d46
update resource to account for TCC logic seperation
2023-03-09 14:24:29 -08:00
Jared Weyer
d689109557
seperate TCC logic
2023-03-09 14:23:49 -08:00
Jared Weyer
229ee4dba2
update for lib TCC changes
2023-03-09 14:16:28 -08:00
Jared Weyer
4f59b69253
seperate tcc logic
2023-03-09 14:15:53 -08:00
Jared Weyer
edea9b49cf
update changelog and metadata
2023-03-09 09:36:48 -08:00
Jared Weyer
cd44050d3c
update the documentation for the remote management resource
2023-03-09 09:36:26 -08:00
Jared Weyer
84ea8eb3ca
Update integration test for remote management resource
2023-03-09 09:36:03 -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
Jared Weyer
ab050cb837
update remote management test recipe to use new remote managment resource properties. Add logic for updating TCC db
2023-03-09 09:34:06 -08:00
Jared Weyer
3f51e5ae9a
update the remote management resource to provide the means to specify privileges for certain users. Also, add tcc daemon restart for when in incorrect state. Add ability to set computer info so that machines can be stratified based on chef attributes like policy name and policy group
2023-03-09 09:32:51 -08:00
Jared Weyer
96d2d55eac
update remote management library to provide methods for determining the current state of the tcc db, ARD agent, and ARD user priviges
2023-03-09 09:29:05 -08:00
Sarah Kunkler Jaffe
fffac938a9
Merge pull request #272 from microsoft/feature/12.6.3-setup
...
Fix autologin for 12.6.3
2023-02-01 12:09:19 -08:00
Jacob Zaval
ff188e9c0e
update CL and metadata
2023-01-30 19:02:51 -08:00
Sarah Jaffe
38f5f56972
Fix autologin for 12.6.3
2023-01-26 10:05:49 -08:00
Jacob Zaval
bb8c54df21
Merge pull request #271 from microsoft/hotfix/kitchen
...
Explicitly use the Apple hypervisor framework for Kitchen CI suites
2022-11-21 17:39:06 -08:00
Jacob Zaval
e51cc392df
Merge branch 'master' into hotfix/kitchen
2022-11-21 13:50:20 -08:00
Jacob Zaval
5366a0807c
Explicitly use the Apple hypervisor framework for Kitchen CI suites
2022-11-21 13:46:37 -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
microsoft-github-policy-service[bot]
22e870b095
Microsoft mandatory file ( #267 )
...
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-09-07 20:50:39 -07:00
Jacob Zaval
da3609cd7d
Merge pull request #266 from microsoft/release/5.0.1
...
Release/5.0.1
2022-05-25 13:38:05 -07:00
Jacob Zaval
4ea755a9f6
update CL
2022-05-25 11:09:39 -07:00
Jacob Zaval
a6c3ac2877
Merge pull request #265 from microsoft/hotfix/xcode-compat
...
update minimum required macOS for Xcode
2022-05-23 18:52:02 -07:00
Jacob Zaval
f6de5d2861
Merge pull request #264 from microsoft/feature/setup-keys
...
Fix autologin for 11.6.6
2022-05-23 16:04:47 -07:00
Jacob Zaval
851e2e4eec
update minimum required macOS for Xcode
2022-05-23 14:39:55 -07:00
Jacob Zaval
e3243607dc
bump version
2022-05-23 14:30:31 -07:00
Sarah Jaffe
521796bfec
Add LastSeenSiriProductVersion
2022-05-20 15:32:52 -07:00
Sarah Jaffe
7f7c0d01ad
Add setup assistant key for 11.6.6, fix typo
2022-05-19 14:46:26 -07:00
Jacob Zaval
32754d4489
Merge pull request #263 from microsoft/fix/typo
...
upcase 'os' in README
2022-04-19 10:15:33 -07:00