Skip to content

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

Open
carroarmato0 wants to merge 2 commits into
thias:masterfrom
carroarmato0:master
Open

mount resource cannot be remounted, allow distinguishing title and path in glusterfs::mount#6
carroarmato0 wants to merge 2 commits into
thias:masterfrom
carroarmato0:master

Conversation

@carroarmato0

Copy link
Copy Markdown

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 christophe.vanlancker@inuits.eu

Signed-off-by: Christophe Vanlancker <christophe.vanlancker@inuits.eu>
…ouble entries in fstab

Signed-off-by: Christophe Vanlancker <christophe.vanlancker@inuits.eu>
@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

igalic commented Apr 10, 2015

Copy link
Copy Markdown

this looks really good, @carroarmato0!

i hope @thias gets around to merging it 👍!

@sharkannon

Copy link
Copy Markdown

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

@igalic

igalic commented Jun 1, 2015

Copy link
Copy Markdown

@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