chef / chef-workstation

Chef Workstation gives you everything you need to get started with Chef, so you can automate how you audit, configure, and manage applications end environments.
Apache License 2.0
134 stars 112 forks source link

Chef Workstation should clean up ChefDK (and possibly InSpec and Habitat, too) #1679

Open kagarmoe opened 3 years ago

kagarmoe commented 3 years ago

Describe the Enhancement:

The Chef Workstation install should clean up the existing ChefDK files, because DK is EOL. It could also clean up the other products that it installs, particularly InSpec and Habitat. One area of concern is how Workstation can keep the unique configurations that users have made in their installations. Keep in mind that we can install products from binaries, gems, and brew or other package managers.

Describe the Need:

The Workstation install should take over for the products that it installs, but the debris from earlier installations of DK, InSpec, and Habitat all have the potential to create conflicts.

Current Alternative

Cleaning everything up manually

Can We Help You Implement This?:

I am not the person you are looking for.

niamhcahill commented 3 years ago

I've had issues with pathing after installing Workstation while also having ChefDK installed - there seemed to be no default location for InSpec. Uninstalling both Workstation and ChefDK, then reinstalling Workstation fixed the issue.

tas50 commented 3 years ago

@kagarmoe Do you have specific files you'd like to cleanup here? We handle the upgrade of the package. What other files should we be handling?

tas50 commented 3 years ago

I think from the develop side of things we need to ensure that we upgrade DK installations and that once we do the upgrade (macos/linux/windows) that the existing ChefDK installation directory is no longer left behind.