Project

General

Profile

« Previous | Next » 

Revision ae4f15b1

Added by Greg Sutcliffe almost 11 years ago

  • ID ae4f15b12cf9ac06735ad08457feecfd0805620d
  • Child 078c9932

Fail if the hosts fqdn is not set

View differences:

foreman_installer/manifests/init.pp
$answers = undef
) {
if empty($::fqdn) {
fail ("An FQDN is required for Foreman to install cleanly. Please ensure 'facter fqdn' returns the correct value before running this installer")
}
$params=loadanyyaml($answers,
"/etc/foreman-installer/answers.yaml",
"${settings::modulepath}/${module_name}/answers.yaml")

Also available in: Unified diff