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

Use edge-filepath module to create parent directories for NFS exports. #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bschonec
Copy link
Contributor

Switch the directory creation to the edgej-filepath module. One side effect of switching to this module is that the selinux_ignore_defaults attribute of the file resource isn't supported. Since it's necessary to set the SELinux context via Puppet on an NFS export anyway, I think this feature won't be missed.

Copy link
Contributor

@derdanne derdanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also please fix the tests?

metadata.json Outdated
@@ -13,6 +13,7 @@
{"name":"puppetlabs/transition","version_requirement":">= 0.1.0 < 2.0.0"},
{"name":"herculesteam/augeasproviders_core","version_requirement":">= 2.1.5 < 4.0.0"},
{"name":"herculesteam/augeasproviders_shellvar","version_requirement":">= 1.2.0 < 5.0.0"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here should be a trailing comma

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also please fix the tests?

I'm afraid I don't know how to make rspec tests. Would anything really need to be changed as all I've done is ensure that the parent directories of the export get created.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@derdanne, the tests have been broken for a while -- at least since I created a fork. I do not know what to do to fix them. Can you advise just a little bit to get me started?

@bschonec bschonec force-pushed the create_parent_directories_for_nfs_exports branch from 7b4719e to 8342be5 Compare August 9, 2023 12:05
@bschonec bschonec force-pushed the create_parent_directories_for_nfs_exports branch from 21b3044 to 61af3a1 Compare September 20, 2023 15:09
@bschonec bschonec force-pushed the create_parent_directories_for_nfs_exports branch 6 times, most recently from e413c48 to 3ec4ce9 Compare May 20, 2024 14:41
@bschonec bschonec force-pushed the create_parent_directories_for_nfs_exports branch from 10f1536 to 1a02fb3 Compare May 20, 2024 14:53
@bschonec
Copy link
Contributor Author

@derdanne will you please accept this pull request so that #178 can be merged and then the tests can be fixed?

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.

2 participants