diff options
author | James Shubin <james@shubin.ca> | 2014-03-10 10:34:31 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-03-16 22:39:07 -0400 |
commit | 1152b69c58e3f4a6bb959ee1521a1ab68daa5599 (patch) | |
tree | 90b14b558c98c502083b924d1fd9a879e59f55d7 | |
parent | 0f11f74eb0d0ba2725486d922841157b94fa06b3 (diff) | |
download | puppet-gluster-1152b69c58e3f4a6bb959ee1521a1ab68daa5599.tar.gz puppet-gluster-1152b69c58e3f4a6bb959ee1521a1ab68daa5599.tar.xz puppet-gluster-1152b69c58e3f4a6bb959ee1521a1ab68daa5599.zip |
Fix small bugs and warnings.
-rw-r--r-- | manifests/brick.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/brick.pp b/manifests/brick.pp index 3957e0c..e68a4c8 100644 --- a/manifests/brick.pp +++ b/manifests/brick.pp @@ -124,7 +124,7 @@ define gluster::brick( $lvm_vgname = "vg_${lvm_safename}" $lvm_lvname = "lv_${lvm_safename}" - $lvm_dataalignment = inline_template('<%= raid_su.to_i*raid_sw.to_i %>') + $lvm_dataalignment = inline_template('<%= @raid_su.to_i*@raid_sw.to_i %>') $lvm_pvcreate = "/sbin/pvcreate --dataalignment ${lvm_dataalignment}K ${dev1}" @@ -344,7 +344,7 @@ define gluster::brick( timeout => 3600, # set to something very long noop => $exec_noop, before => Exec["gluster-brick-mkfs-${name}"], - alias => "gluster-brick-lvm-vgcreate-${name}", + alias => "gluster-brick-lvm-lvcreate-${name}", } } |