Closed nachbar closed 7 years ago
It might make sense to integrate this too: https://github.com/matschaffer/knife-solo/pull/385
If nothing else I'm pretty sure it'll still break anyone who's using ruby roles and/or environments. Which I'd guess many are since the main chef docs show ruby before JSON for those items.
Like I mentioned on #385, I'd love to do local mode, but if we release it like this I think we'll get a ton of "the latest release doesn't work" reports from people who've been using chef for awhile.
Without the local_mode true setting in knife.rb, the knife-solo_data_bag gem can try to access a Chef Server when showing or editing a data bag, as noted here: https://github.com/thbishop/knife-solo_data_bag/issues/35
As noted there, setting local_mode true fixes the problem, and making it the default when using knife solo init probably makes sense. However, I don't know enough about Chef / Knife workflow to know if adding this option could cause problems for others, especially if they are using both knife solo and Chef server from the same folder.