chef-workstation icon indicating copy to clipboard operation
chef-workstation copied to clipboard

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

Open kagarmoe opened this issue 3 years ago • 3 comments

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.

kagarmoe avatar Jan 28 '21 22:01 kagarmoe

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.

niamhcahill avatar Jan 29 '21 22:01 niamhcahill

@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 avatar Mar 20 '21 23:03 tas50

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.

tas50 avatar Mar 24 '21 04:03 tas50