Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mount resource cannot be remounted, allow distinguishing title and path in glusterfs::mount #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

carroarmato0
Copy link

The Gluster Fuse module unfortunately does not support the '-o remount' flag (yet ?)

Setting it to false gives puppet peace. When changing mount options it seems to refresh the resource. Not sure if the refresh actually does anything, but at least the fstab entry get updated correctly.

The other commit allows you to specify the path of the mountpoint while keeping a uniqe resource title. This is important to have puppet make the correct modifications in /etc/fstab when you change some options to the same resource instead of adding one below potentially causing issues after a reboot due to double entries.

Signed-off-by: Christophe Vanlancker [email protected]

@carroarmato0 carroarmato0 changed the title mount resource cannot be remounted, unsupported in gluster-fuse mount resource cannot be remounted, allow distinguishing title and path in glusterfs::mount Jan 29, 2015
@igalic
Copy link

igalic commented Apr 10, 2015

this looks really good, @carroarmato0!

i hope @thias gets around to merging it 👍!

@sharkannon
Copy link

Please accept this pull request as it is blocking us from being able to use this module.

@igalic
Copy link

igalic commented Jun 1, 2015

@sharkannon i'm working on fix-up of this module, you can use my branch from #14.
if you're using r10k, you can point your Puppetfile to my version of the module

mod 'glusterfs', :git => 'git://github.com/igalic/puppet-glusterfs.git', :ref => 'fixes'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants