-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with settting up on a clean install #112
Comments
Try this in your config repo: 9e6654e Chef 12 breaks a lot of stuff so i locked on 11 |
Thanks @roderik! That seemed to fix my Sublime Text install. The osx defaults still don't seem to be applying though. I'm also prompted to overrwrite the Gemfile everytime I provision... |
could you paste a part of the chef output of the dotfiles executions? |
Recipe: osxdefaults::dock_remove_the_auto-hiding_dock_delay
* osxdefaults_defaults[Remove the auto-hiding Dock delay] action write
* execute[Remove the auto-hiding Dock delay - com.apple.dock - autohide-delay] action run
- execute defaults write "com.apple.dock" "autohide-delay" -float 0.0
Recipe: osxdefaults::menu_add_battery_percentage
* osxdefaults_defaults[Add battery percentage in menubar] action write
* execute[Add battery percentage in menubar - com.apple.menuextra.battery - ShowPercent] action run (skipped due to not_if)
Recipe: osxdefaults::menu_show_clock_with_date
* osxdefaults_defaults[Add date in menubar clock] action write
* execute[Add date in menubar clock - com.apple.menuextra.clock - DateFormat] action run (skipped due to not_if)
Recipe: osxdefaults::set_computer_name
* execute[set ComputerName] action run
- execute scutil --set ComputerName Snap-To-Pixel
* execute[set HostName] action run
- execute scutil --set HostName Snap-To-Pixel
* execute[set LocalHostName] action run
- execute scutil --set LocalHostName Snap-To-Pixel
* osxdefaults_defaults[Set the computer name] action write
* execute[Set the computer name - com.apple.smb.server - NetBIOSName] action run (skipped due to not_if)
Running handlers:
Running handlers complete
Chef Client finished, 111/144 resources updated in 25.926149 seconds
-> Cleanup parsed configuration files
run rm -f kitchenplan-attributes.json from "/opt/kitchenplan"
run rm -f solo.rb from "/opt/kitchenplan"
=> Installation complete! |
It does seem to execute, did you reboot? There are some settings that only take effect after rebooting |
Reboot didn't seem to change anything unfortunately. Any other ideas? Really appreciate your help! |
I was having some similar issues provisioning a brand new IMac running Yosemite. After some serious hair pulling, I did the following
It was mostly clear sailing from there. Chef 11.0 was used instead of 12 and I was able to get OS X defaults set up. |
what does this do, build and install from master? I'll build a new gem to make sure |
Yes. It let me install the gem straight from the repo. When I ran |
Thanks much @scuerda, unfortunately it didn't work for me, here's what I did:
|
And here's the output after a Ctrl + C
|
give me a minute, trying to get some other kinks worked out in master :) |
released a new gem, does it work better for you? |
The gem seems to work, but my dotfiles are still not being set, stuff like the date in the menubar, dock settings, etc are not being reflected even after a restart. Here's the output for one of them:
|
It's quite possible that several of these settings don't work on yosemite. If you execute the |
I'll give it a try, I'm on Mavericks, thanks!
|
My Mac's drive decided to go and crash today and I figured "Well, at least I have Kitchenplan to get things back up and running once Apple fixes it" but that hasn't turned out to be the case.
After installing kitcenplan with my confg repo, I had to uninstall and manually re-install brew-cask just to get the provision to go through which it eventually did. Everything seemed to go ok after that initial hiccup, however none of my osx_defaults or things like Sublime Text customizations are present.
It also didn't set my console to the Tomorrow Night Eighties theme, so I'm wondering what went wrong? Could you please give me some ideas? Thanks!
The text was updated successfully, but these errors were encountered: