X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fbuildd%2Ftemplates%2Fetc%2Fschroot%2Fmount-defaults.erb;h=9dc2d5185194b255f660fcc424bf8b4d341620a9;hb=3eb533e5499e66423bafdedaf6c7d08ead1772de;hp=c77a7635049115b744eb40fec7658fa3cf2573ad;hpb=78418aaeb7f9f0b74efe1f46fe14d51c97ab9b15;p=dsa-puppet.git diff --git a/modules/buildd/templates/etc/schroot/mount-defaults.erb b/modules/buildd/templates/etc/schroot/mount-defaults.erb index c77a7635..9dc2d518 100644 --- a/modules/buildd/templates/etc/schroot/mount-defaults.erb +++ b/modules/buildd/templates/etc/schroot/mount-defaults.erb @@ -7,7 +7,7 @@ # (CHROOT_PATH) # # -<% if nodeinfo['ldap'].has_key?('architecture') and nodeinfo['ldap']['architecture'].start_with?('kfreebsd') -%> +<% 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,bind 0 0