# File lib/specinfra/command/freebsd/base/inventory.rb, line 15 def get_domain 'hostname -f | ' + 'awk -v h=`hostname -s` \'$1 ~ h { sub(h".", "", $1); print $1 }\'' end