Missing step in setting up a non-root agent
We are setting up PE Agents on Redhat using the steps indicated here https://docs.puppetlabs.com/pe/latest...
After step 5, the following folders are owned by root - /opt/puppet, /var/log/puppet, /etc/puppet. I dont see steps 6 through 10 correcting the file permissions, given that when you do the first puppet agent --test fails with permission issues on the said folders. There could be some steps missing during this transition from root to non-root user.
Did anybody experienced the same? How did you solve it? what am I missing? Thanks