Warning: Not using cache on failed catalog. Why?
I want to use Puppet on an unreliable network, and I have been testing what would happen if the Master is down/uncontactable. The Agent does this:
Error: Could not retrieve catalog from remote server: Connection refused - connect(2)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Connection refused - connect(2)
How do I get puppet to automatically use the cached catalog when it is unable to contact the master, or the master is unable to generate a new catalog? I don't want to have to manually log on to the server and run agent --usecachedcatalog every time.