For uninstallation, I like the idea of
an "undo" recipe. For example, RHEL flavors tend to install NFS
as part of the base installation. When I set out to do the nfs
cookbook, I was sure to create an "nfs::undo"
run-once recipe which will clean up that annoyance. The
annoyances cookbook is another good example of reversing an
undesired state on a managed node.
I think the idea of an undo recipe should be to step backwards logically through the installed/running pattern. Run-once capability is a nice thing to have for a "kickstart" type of role. For example, I may want to undo nfs on every fresh installation. However, I don't want the "nfs::undo" recipe to permanently exist in the run_list and reverse the state of an actual NFS server either. Eric G. Wolfe Senior Linux Administrator, IT Infrastructure Systems -------------------------------------- Marshall University Computing Services Drinko Library 428-K One John Marshall Dr. Huntington, WV 25755 Phone: 304.942.3970 Email: "> You will be recognized and honored as a community leader.On 07/16/2013 12:50 PM, Matthew Moretti wrote: " type="cite"> |
Archive powered by MHonArc 2.6.16.