- From: Adam Jacob <
>
- To:
- Subject: [chef] Re: Using report handlers to remove old files
- Date: Mon, 5 Sep 2011 10:58:33 -0700
I would just extend your tomcat installation cookbook to clean up the
old ones idempotently.
Adam
On Mon, Sep 5, 2011 at 5:27 AM, Alex Kiernan
<
>
wrote:
>
We've accumulated a load of tomcat installations and having refactored
>
our installations of it so it's now a single definition which installs
>
the version of tomcat you asked for (so you drop it into the recipe
>
you want it in) I now want to clean up all the unused ones.
>
>
My thinking is to add a report handler which figures out which
>
versions of tomcat we actually used in a run, drop that to a file
>
somewhere locally and then use that file next time around to clean up
>
all the dead ones...
>
>
Or am I missing something and making this more work than needed!
>
>
--
>
Alex Kiernan
>
--
Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E:
Archive powered by MHonArc 2.6.16.