Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

mount gluster fs

Hi guys! I'm trying to mount glusterfs using puppet and it works okay! with this code:

mount { "/home/$_user/cl-data/data/gluster/":
    device  => $gluster_volume,
    fstype  => "glusterfs",
    ensure  => "mounted",
    options => "defaults",
    atboot  => "true",
    require => [Class["configs"], Class["gluster_client::install"],]

but! after mounting gluster folder become owned by root. My question is how to avoid this? how to mount as user?