diff options
author | James Shubin <james@shubin.ca> | 2013-10-30 03:36:24 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2013-10-30 03:36:24 -0400 |
commit | 54d19de6eba356c667f08f2d6687b29e6e7724ba (patch) | |
tree | e01ab6abfe75772b6c86aadfaa63544eb2517300 /manifests | |
parent | c65d77ea5b8fa0790e3cd30d217805b823107ff7 (diff) | |
download | puppet-gluster-54d19de6eba356c667f08f2d6687b29e6e7724ba.tar.gz puppet-gluster-54d19de6eba356c667f08f2d6687b29e6e7724ba.tar.xz puppet-gluster-54d19de6eba356c667f08f2d6687b29e6e7724ba.zip |
Woops, tiny bugfix.
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.") } |