We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267c387 commit 86112cfCopy full SHA for 86112cf
manifests/peer.pp
@@ -42,7 +42,8 @@
42
# peering attempt only resolves a cosmetic issue, not a functional one.
43
#
44
define gluster::peer (
45
- $pool = 'default'
+ $pool = 'default',
46
+ $fqdn = $::fqdn,
47
) {
48
49
# we can't do much without the Gluster binary
@@ -51,7 +52,7 @@
51
52
if getvar('::gluster_binary') {
53
# we can't join to ourselves, so it only makes sense to operate
54
# on other gluster servers in the same pool
- if $title != $::fqdn {
55
+ if $fqdn != $::fqdn {
56
57
# and we don't want to attach a server that is already a member
58
# of the current pool
0 commit comments