]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
it's an array, of course
authorStephen Gran <steve@lobefin.net>
Sat, 5 Feb 2011 14:32:55 +0000 (14:32 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 5 Feb 2011 14:32:55 +0000 (14:32 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/buildd/templates/etc/schroot/mount-defaults.erb

index c77a7635049115b744eb40fec7658fa3cf2573ad..ec016d9c398f446e245f7f29800891ce86b5c99d 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'].start_with?('kfreebsd') -%>
+<% if nodeinfo['ldap'].has_key?('architecture') and nodeinfo['ldap']['architecture'][0].start_with?('kfreebsd') -%>
 # kFreeBSD version
 proc           /proc           linprocfs       defaults        0       0
 dev            /dev            devfs   rw,bind         0       0