Skip to content

Commit

Permalink
Fix small bugs and warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
purpleidea committed Mar 17, 2014
1 parent 0f11f74 commit 1152b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/brick.pp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
$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}"

Expand Down Expand Up @@ -344,7 +344,7 @@
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}",
}
}

Expand Down

0 comments on commit 1152b69

Please sign in to comment.