Warning when I run puppet agent -t --server server1
When I run puppet agent -t --server server1, I'm getting below warning:
Warning: Unable to fetch my node definition, but the agent run will continue: Warning: undefined method `include?' for nil:NilClass
But after the command successful completed, I had run it again, this warning is gone. I also checked the auth.conf file and it do included below contents in top of this file.
# allow nodes to retrieve their own node definition path ~ ^/node/([^/]+)$ method find allow $1
So I would need some help on this to see if I can fix this warning issue when I first time run this?