Agent run fails for non-root users
An agent run initiated by puppetadmin
or any other non-root user
fails when attempting to access certificates, packages, and services.
Always execute agent runs with super-user privileges:
sudo /usr/local/bin/puppet agent -t