What's the best way to run puppet agent both in daemon mode and onetime mode, and both of two modes rely on ENC?
I have requirement which not only need run puppet agent in daemon mode for some check tasks but also need run puppet agent in onetime mode for some patch tasks, they all rely on ENC to get configuration data from external data source. How can I implement it? Should I need setup two puppet masters, one for daemon tasks, the other for onetime tasks? If no, could anyone tell me how? Thanks!