I need a way to detect that puppet has finished an initial run ( successfully ), so I can wait before launching other actions when spinning up machines on AWS EC2 and/or OpenStack. How can I check this?
Some ideas floated so far are:
- have puppet touch a file when finished ( successfully ), I can then just watch for that file
- have puppet write a fact when finished (successfully ), I can check facts through mcollective. ( Not sure if writing to puppet db from within a puppet run is even possible )