-
Notifications
You must be signed in to change notification settings - Fork 303
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
Fix aix/windows ownership issues and vardir path #156
Conversation
| it { should be_owned_by username } | ||
| it { should be_grouped_into groupname } | ||
| it("should be mode 644", :unless => fact('osfamily') == "AIX") { | ||
| should be_mode 644 |
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.
???
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.
specinfra doesn't have a be_mode matcher on AIX. I'll have to write one, but disabling this test so it will go green in our jenkins.
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.
Nor be_linked_to (well, it tries to run stat but should be istat).
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.
Also the useradd/groupadd obviously won't work on AIX or windows :)
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.
Aww, I didn't know about the limitation on AIX. A #xxx comment at least in the file might same some head scratching. Otherwise, this looks good.
Fix aix/windows ownership issues and vardir path
| it { should be_owned_by 'root' } | ||
| it { should be_grouped_into 'root' } | ||
| it { should be_mode 644 } | ||
| it { should contain '2' } |
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.
I'm half asleep but did we just lose the contain lines?
No description provided.