Closed patcon closed 11 years ago
Will attach a PR soon
I don't know exactly how shell_out is operating here, so I probably need to play with the cookbook more and figure out what needs to go here: https://github.com/jtimberman/mac_os_x-cookbook/blob/master/providers/userdefaults.rb#L34
Any suggestion are appreciated :)
There's a user method to Mixlib::ShellOut, but I haven't used it yet with the shell_out() in the recipe context.
Awesome. Self-reference for later: https://github.com/opscode/mixlib-shellout/blob/master/lib/mixlib/shellout/unix.rb#L90
GitHub PR UI says this cannot be automatically merged. Can you rebase with master and re-push?
Done and done. Thanks JT!
cc: @mkocher
Thank you sir :D
This will allow pivotal_workstation to use
mac_os_x
as a dependency, as they rely on chef being run as sudo but still adjusting the sudo'ing user's defaults.Related: pivotal/pivotal_workstation#63