- From: Seth Falcon <
>
- To: <
>
- Subject: [chef] Re: Re: Re: Re: Re: Best Practice Performing Upgrade and Uninstall
- Date: Wed, 21 Aug 2013 14:26:25 -0700
writes:
>
Yes, I know the "package" resource, but the prerequisite is that I have
>
pack my own source code into a .deb package or .rpm package.
>
>
But if the software is developed by myself, I did not pack the source code,
>
and it do not exist in any package repository.
>
>
What is the common practice on this situation?
If you have non-packaged code that you want to cleanup, I'd recommend
creating a cleanup recipe that removes it (perhaps stopping a service,
removing files and directories, etc).
For non-packaged things, it is hard to make a general uninstall
solution, so the common practice, if you can call it that, is custom
uninstall recipes.
+ seth
--
Seth Falcon | Development Lead | Opscode | @sfalcon
Archive powered by MHonArc 2.6.16.