do check for boolean value of true instead of stringified version
[mirror/dsa-puppet.git] / modules / schroot / templates / schroot-buildd / fstab.erb
index 56a8756..a983669 100644 (file)
@@ -18,7 +18,7 @@ dev           /dev/fd         fdescfs rw              0       0
 /dev/pts       /dev/pts        none    rw,bind         0       0
 tmpfs-shm      /dev/shm        tmpfs   defaults,size=64m       0 0
 
-<%- if has_variable?("has_srv_build_trees") && has_srv_build_trees == "true" -%>
+<%- if has_variable?("has_srv_build_trees") && has_srv_build_trees -%>
 /srv/build-trees       /build  none    rw,bind         0       0
 
 <% end %>