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

Mounts can be defined but mount point will not be created #16

Closed
robertdebock opened this issue Apr 17, 2015 · 1 comment
Closed

Mounts can be defined but mount point will not be created #16

robertdebock opened this issue Apr 17, 2015 · 1 comment

Comments

@robertdebock
Copy link
Contributor

When defining a mount, like so:

gluster_mounts:
  /somemountpoint:
    volume: host:/somevolume
    ensure: mounted
    options: defaults

The mount point (in this case /somemountpoint) will not be created.

Is that expected behaviour? (I was hoping it would also ensure the mount point is a directory.)

@skpy
Copy link
Contributor

skpy commented Apr 20, 2015

No, the target directory will not be created. Creating directories and setting appropriate permissions is outside the scope of this module. It's up to the site implementing this module to ensure that the targets are valid.

@skpy skpy closed this as completed Apr 20, 2015
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

No branches or pull requests

2 participants