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

Module does not create parent directories for nfs::server::export #146

Open
bschonec opened this issue May 12, 2022 · 4 comments
Open

Module does not create parent directories for nfs::server::export #146

bschonec opened this issue May 12, 2022 · 4 comments

Comments

@bschonec
Copy link
Contributor

All of the examples of export creation use top-level directories. If you try to export a child directory, the module errors out.

 node server {
    class { '::nfs':
      server_enabled => true
    }
    nfs::server::export{ '/data_folder/child_folder':
      ensure  => 'mounted',
    }
  }

Would cause an error if /data_folder doesn't already exist. I realize that Puppet doesn't create parent directories by design and this module should ensure parent directories are created.

@bschonec
Copy link
Contributor Author

Merge request #148 created.

@bschonec
Copy link
Contributor Author

Comments? Merge?

@derdanne
Copy link
Contributor

derdanne commented Jul 5, 2022

Comments are in the PR

@bschonec
Copy link
Contributor Author

bschonec commented Aug 9, 2023

I'm still trying to submit this pull request but the build fails early on in the process. I don't know what's happening or how to fix it. Any help is appreciated.

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