What's the best solution to support puppet agent run in both one-time and daemon mode?
I'm trying to run puppet node in daemon mode like ensure system file configuration consistent as it should be, while I also have some cases that some urgent fixes/software configuration should be applied on some nodes immediately.
I take the puppet master-slaves topology, puppet master is configured as ENC mode to fetch node configuration through one centralized repository. So I implement a simple ENC service to retrieve node configuration then compile to yaml output.
Current solution is that I have to setup two puppet masters with two ENC service instances, one is for daemon puppet run and configured ... (more)