Skip to content

Conversation

@cah-edward-shorrock
Copy link

I have added the ability to run as the user to access user specific preferences. Also corrected an issue with grep causing it to fail with strings or preference domains that contained a space in them. Also cleaned up code based on current puppet style guidelines. Tested with real bools, array-add and string with no issues.

This adds an option that can be passed to macdefaults:

runas

This should take one option => 'user' or 'root'

Thanks,
Ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant