[chef] Re: Re: Re: Re: Re: Re: Best Practice Performing Upgrade and Uninstall


Chronological Thread 
  • From: Howard Zhang < >
  • To: chef < >
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Best Practice Performing Upgrade and Uninstall
  • Date: Fri, 23 Aug 2013 15:43:28 +0800

Thanks all these possible solutions.

Cheers,
Howard 

On Thu, Aug 22, 2013 at 5:26 AM, Seth Falcon < " target="_blank"> > wrote:

"> 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.

§