This process is derived from the [official guide][official-guide], but lightly tweaked to make the process smoother and produce an installation that comes up automatically on boot (no need to enter desktop mode) and survives system updates.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@master:/etc/puppetlabs/facter/facts.d # cat foo.sh | |
#! /bin/sh | |
FACT=$(facter hostname) | |
echo "foo=${FACT}" | |
root@master:/etc/puppetlabs/facter/facts.d # chmod +x foo.sh | |
root@master:/etc/puppetlabs/facter/facts.d # facter ipaddress | |
<hangs and explodes> |