diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 461eb62..9cd7b03 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -28,7 +28,7 @@ define gluster::host( #$vardir = $::gluster::vardir::module_vardir # with trailing slash $vardir = regsubst($::gluster::vardir::module_vardir, '\/$', '') - if ("${uuid}" != '') and "${uuid}" =~ /^[a-f0-9]{8}\-[a-f0-9]{4}\-[a-f0-9]{4}\-[a-f0-9]{4}\-[a-f0-9]{12}$/) { + if ("${uuid}" != '') and "${uuid}" =~ /^[a-f0-9]{8}\-[a-f0-9]{4}\-[a-f0-9]{4}\-[a-f0-9]{4}\-[a-f0-9]{12}$/ { fail("The chosen UUID: '${uuid}' is not valid.") } |