summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manifests/simple.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/simple.pp b/manifests/simple.pp
index 91847b4..dec6dc7 100644
--- a/manifests/simple.pp
+++ b/manifests/simple.pp
@@ -64,6 +64,10 @@ class gluster::simple(
shorewall => $shorewall,
}
+ if "${::fqdn}" == '' {
+ fail('Your $fqdn is empty. Please check your DNS settings.')
+ }
+
@@gluster::host { "${::fqdn}":
}
Gluster::Host <<||>>