radiodan-archive / cold-start

Build a base radiodan install from a clean raspbian distro
4 stars 1 forks source link

`puppet apply` begins with a warning message #4

Open gareth opened 11 years ago

gareth commented 11 years ago

Just making a note of this at home because I couldn't get internet sharing working at work. Everything seemed to complete successfully but the first line puppet gave me was a warning:

pi@raspberrypi ~ $ sudo puppet apply --modulepath=/home/pi/cold_start/modules -e "include radiodan"
warning: Could not retrieve fact fqdn
notice: /Stage[main]/Default_application/File[/usr/local/bin/install_apps]/ensure: created
[…]
notice: Finished catalog run in 904.84 seconds
libbymiller commented 11 years ago

Warnings are ok I think... Thanks for trying it out :-)

On 17 Sep 2013, at 23:32, Gareth Adams notifications@github.com wrote:

Just making a note of this at home because I couldn't get internet sharing working at work. Everything seemed to complete successfully but the first line puppet gave me was a warning:

pi@raspberrypi ~ $ sudo puppet apply --modulepath=/home/pi/cold_start/modules -e "include radiodan" warning: Could not retrieve fact fqdn notice: /Stage[main]/Default_application/File[/usr/local/bin/install_apps]/ensure: created […] notice: Finished catalog run in 904.84 seconds — Reply to this email directly or view it on GitHub.

andrewn commented 11 years ago

This is an ok warning but it would be better to remove it. The issue is that the machine should have a full-qualified domain name e.g. hostname -f should return something.something.

Need to add this to the cold start config.