I would like to clean up the build-essential packages after using them to build codes. I would also like to make sure that compilers and other build tools are not present across my chef managed infrastructure.
Steps to Reproduce:
There's a couple of workflows that would get solved by this let me go through a couple I mentioned above.
Keep compilers around just for the build of the app
Deploy application from SCM
Install build tools to build the application
Setup application to be usable (doesn't require build tools anymore)
Remove compilers used to build the application
Verify that compilers are not present across my infrastructure
Remove compilers used during development as they are not needed when going to production.
Expected Result:
Set an uninstall action for build-essential so it will remove (the high level stuff) what it installed.
Actual Result:
I end up having to implement all the logic in the resource but for each platform with package removals and keeping them inline with updates to required packages... :(
Cookbook version
Latest
Chef-client version
Latest
Platform Details
Any
Scenario:
I would like to clean up the build-essential packages after using them to build codes. I would also like to make sure that compilers and other build tools are not present across my chef managed infrastructure.
Steps to Reproduce:
There's a couple of workflows that would get solved by this let me go through a couple I mentioned above.
Keep compilers around just for the build of the app
Verify that compilers are not present across my infrastructure
Expected Result:
Set an uninstall action for build-essential so it will remove (the high level stuff) what it installed.
Actual Result:
I end up having to implement all the logic in the resource but for each platform with package removals and keeping them inline with updates to required packages... :(