Enable the most common options used for testing. These are 'onetime', 'verbose', 'ignorecache', 'no-daemonize', 'no-usecacheonfailure', 'detailed-exitcodes', 'no-splay', and 'show_diff'.
ignorecache is set with "--test". Default we have a cache of 3 Minutes. I think that should be the config value: https://docs.puppetlabs.com/references/latest/configuration.html#environmenttimeout
Philipp
I'm a new puppet user; just now doing some testing in a sandbox environment.
I have added 'runinterval' to the [agent] section of puppet.conf on one agent and set it to 60. I can see (via 'tail -f /var/log/messages | grep puppet:') now that I get a "Notice: Compiled catalog for myagent in environment production in 0.00 seconds' message every minute now on the puppet server so I'm assuming the new runinterval has taken effect on the one agent.
However, when I make a change for that node in a manifest on the server, it doesn't get pushed to the agent at its next check in. In this case the change is to have telnet installed on the agent. So, on the agent i'm testing with a 'which telnet' and it doesn't find /usr/bin/telnet.
So, being impatient, from the agent I run 'puppet agent --test' and it then installs telnet. So, I manually remove it (yum remove telnet) and wait to see when puppet will install it again. I don't see it happening though unless i force it with the 'puppet agent --test' run on the agent.
I'm sure I'm missing something in my understanding of what should be happening. When the agent 'checks in' once every 60 seconds (because of my runinterval setting on the agent, shouldn't it detect that the actual configuration doesn't match the manifest and then install telnet again?