-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
base: master
Are you sure you want to change the base?
Use edge-filepath module to create parent directories for NFS exports. #148
Conversation
There was a problem hiding this 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"} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this 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?
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.
There was a problem hiding this comment.
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?
7b4719e
to
8342be5
Compare
21b3044
to
61af3a1
Compare
e413c48
to
3ec4ce9
Compare
10f1536
to
1a02fb3
Compare
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.