On Thu, 2017-03-09 at 14:31 -0900, Dan Morphis wrote: > Another question, how do I prevent a provision from being executed > multiple times? I created a provision to exec on 1 BOOT, and it > executed 4 times very quickly before being stopped by the > endless_cycle check.
In short, you can't. The provisions will be executed repeatedly until they result in no configuration change. You can utilize tags to maintain a state to ensure a provision is only applied once, but in my opinion that should be a last resort if you cannot make your provisions stateless. -- Zaid Abdulla <[email protected]> _______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
