Please add an option to make puppet agent wait for the lock to become available and then run. As is I often end up retrying multiple times, or setting up a while loop to check for the presence of the lock file.
For example, puppet agent --waitforlock --test or puppet agent -Wt.
Please add an option to make {{puppet agent}} wait for the lock to become available and then run. As is I often end up retrying multiple times, or setting up a {{while}} loop to check for the presence of the lock file.
For example, {{puppet agent --waitforlock --test}} or {{puppet agent -Wt}}.