massive style guide fixups
[mirror/dsa-puppet.git] / modules / buildd / templates / etc / schroot / mount-defaults.erb
index ec016d9..9dc2d51 100644 (file)
@@ -7,7 +7,7 @@
 # (CHROOT_PATH)
 #
 # <file system> <mount point>   <type>  <options>       <dump>  <pass>
-<% if nodeinfo['ldap'].has_key?('architecture') and nodeinfo['ldap']['architecture'][0].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