In Unix I am trying to mount a disk to a directory. I create a file resource with xxx permissions and then I create a mount resource to that file resource. When puppet runs it creates the directory with xxx permissions and then it mounts the filesystem to the directory with yyy permissions (probably from root umask). Once puppet runs again it will set the mount to xxx permissions. This is not what I want. I need the directory to be permissions xxx and the mount to be permissions yyy. If the mount ever disappears the permissions would change and be incorrect.
Mount should take a mode parameter to set the mount's permissions. The File resource would also have to identify that that the mount is actually a mount and not a directory.