I want to share the way, how I manage hosts with puppet. Let's say we have a new box, which runs ubuntu.
First of all I install latest puppet and configure a hostname.
We have to check if puppet is properly installed (e.g. 3.4):
# puppet --version
3.4.0
Then we have to check if the hostname looks good with puppet's facter:
# facter fqdn
hans.example.org