summaryrefslogtreecommitdiffstats
path: root/manifests/volume.pp
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2013-10-10 14:37:49 -0400
committerJames Shubin <james@shubin.ca>2013-10-10 14:37:49 -0400
commit392308ceaf80b83bb87210e013e4fd07c40beba9 (patch)
tree4a40de8d22983fb3f9a9785974a5afd149fb7a9b /manifests/volume.pp
parent2aa4163f52eb55cdd376946ad05c5d74a45c14f8 (diff)
downloadpuppet-gluster-392308ceaf80b83bb87210e013e4fd07c40beba9.tar.gz
puppet-gluster-392308ceaf80b83bb87210e013e4fd07c40beba9.tar.xz
puppet-gluster-392308ceaf80b83bb87210e013e4fd07c40beba9.zip
Use better namespacing for volume create tmp log files.
Diffstat (limited to 'manifests/volume.pp')
-rw-r--r--manifests/volume.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/volume.pp b/manifests/volume.pp
index 3d00dca..88d7b0d 100644
--- a/manifests/volume.pp
+++ b/manifests/volume.pp
@@ -119,7 +119,7 @@ define gluster::volume(
# NOTE: we sleep for 5 seconds to give glusterd a chance to
# settle down first if we're doing a hot (clean) puppet run
file { "${vardir}/volume/create-${name}.sh":
- content => inline_template("#!/bin/bash\n/bin/sleep 5s && /usr/sbin/gluster volume create ${name} ${valid_replica}${valid_stripe}transport ${valid_transport} ${brick_spec} > >(/usr/bin/tee '/tmp/gluster-volume-${name}.stdout') 2> >(/usr/bin/tee '/tmp/gluster-volume-${name}.stderr' >&2) || (${rmdir_volume_dirs} && /bin/false)\nexit \$?\n"),
+ content => inline_template("#!/bin/bash\n/bin/sleep 5s && /usr/sbin/gluster volume create ${name} ${valid_replica}${valid_stripe}transport ${valid_transport} ${brick_spec} > >(/usr/bin/tee '/tmp/gluster-volume-create-${name}.stdout') 2> >(/usr/bin/tee '/tmp/gluster-volume-create-${name}.stderr' >&2) || (${rmdir_volume_dirs} && /bin/false)\nexit \$?\n"),
owner => root,
group => root,
mode => 755,