X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=inline;f=modules%2Fschroot%2Ftemplates%2Fetc%2Fschroot%2Fmount-defaults.erb;fp=modules%2Fschroot%2Ftemplates%2Fetc%2Fschroot%2Fmount-defaults.erb;h=9dc2d5185194b255f660fcc424bf8b4d341620a9;hb=16e295d6dcd715d959e2fad2cf0e25ba2938058e;hp=0000000000000000000000000000000000000000;hpb=39aaccb6cffa5fcfe7af57304ede552abb1879c8;p=mirror%2Fdsa-puppet.git diff --git a/modules/schroot/templates/etc/schroot/mount-defaults.erb b/modules/schroot/templates/etc/schroot/mount-defaults.erb new file mode 100644 index 000000000..9dc2d5185 --- /dev/null +++ b/modules/schroot/templates/etc/schroot/mount-defaults.erb @@ -0,0 +1,22 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## +# mount.defaults: static file system information for chroots. +# Note that the mount point will be prefixed by the chroot path +# (CHROOT_PATH) +# +# +<% 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 +dev /dev/fd fdescfs rw,bind 0 0 +sys /sys linsysfs defaults 0 0 +<% else -%> +# Linux version +proc /proc proc defaults 0 0 +/dev/pts /dev/pts none rw,bind 0 0 +tmpfs /dev/shm tmpfs defaults 0 0 +<% end %> +