You can write a recipe that checks for an attribute and include a recipe dynamically if its set. By setting the value of the attribute you should be able to control the inclusion of the one off run list item
HI,
I am looking to figure out how I run a single recipe just once without changing the run_list of a node. My specific use-case is when I want to uninstall a single component to then re-install it. I tried creating an uninstall recipe and running it with –override-runlist. This runs my uninstall but changes the whole state of my node.
Am I approaching this all worng? What do others do when they need to uninstall?
Cheers,
Florian
LEGAL DISCLAIMER
This communication and any attached documents are strictly confidential and/or legally privileged and they may not be used or disclosed by someone who is not a named recipient. If you have received this electronic communication in error please notify the sender by replying to this electronic communication inserting the word "misdirected" as the subject and delete this communication from your system.
Archive powered by MHonArc 2.6.16.