X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fschroot%2Ftemplates%2Fschroot-buildd%2Ffstab.erb;h=2ff619834ff1b10b98fab12f82e55d7383e9351a;hb=7f9dfc2720855047ffada44ed914fc3b30a41079;hp=a9836697a6b5ad3f5584454a141c8c35d66b382e;hpb=6718d9e8c7aaafa9710e57a4a861cad02634c79d;p=mirror%2Fdsa-puppet.git diff --git a/modules/schroot/templates/schroot-buildd/fstab.erb b/modules/schroot/templates/schroot-buildd/fstab.erb index a9836697a..2ff619834 100644 --- a/modules/schroot/templates/schroot-buildd/fstab.erb +++ b/modules/schroot/templates/schroot-buildd/fstab.erb @@ -4,22 +4,12 @@ # # -<% if scope.lookupvar('site::nodeinfo')['ldap'].has_key?('architecture') and scope.lookupvar('site::nodeinfo')['ldap']['architecture'][0].start_with?('kfreebsd') -%> -# kFreeBSD version -proc /proc linprocfs defaults 0 0 -dev /dev devfs rw 0 0 -dev /dev/fd fdescfs rw 0 0 - -/srv/build-trees /build nullfs rw 0 0 -<% else -%> # Linux version /proc /proc none rw,bind 0 0 /sys /sys none rw,bind 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 -%> +<%- if has_variable?("has_srv_build_trees") && @has_srv_build_trees -%> /srv/build-trees /build none rw,bind 0 0 - -<% end %> <% end %>