I\'m learning about puppet and trying to experiment with it on a VM at home. I\'m not using a puppet server yet, just running things locally. It works okay, but every time I
I got the same error when running puppet on my home machine (Xubuntu). What worked for me was changing the second line of file /etc/hosts. The first two lines before the change:
127.0.0.1 localhost
127.0.1.1 box
And after the change:
127.0.0.1 localhost
127.0.1.1 box.example.com box
Now, the command hostname -f returns box.example.com instead of box, and puppet is happy.