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

Fix aix/windows ownership issues and vardir path #156

Merged
merged 1 commit into from
Feb 26, 2014

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Feb 26, 2014

No description provided.

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
Copy link
Contributor

Choose a reason for hiding this comment

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

???

Copy link
Contributor Author

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.

Copy link
Contributor Author

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).

Copy link
Contributor Author

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 :)

Copy link
Contributor

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.

Phil0xF7 added a commit that referenced this pull request Feb 26, 2014
Fix aix/windows ownership issues and vardir path
@Phil0xF7 Phil0xF7 merged commit fe61ae6 into puppetlabs:1.0.x Feb 26, 2014
@hunner hunner deleted the fix_aix branch February 26, 2014 23:15
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
it { should be_mode 644 }
it { should contain '2' }
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants