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 broken testmatrix due to gem updates #437

Merged
merged 18 commits into from Oct 2, 2018

Conversation

bastelfreak
Copy link
Member

No description provided.

@bastelfreak
Copy link
Member Author

Fixes #438

@bastelfreak
Copy link
Member Author

We need to do some adjustments to the tests, that requires a bit more time.

@bastelfreak
Copy link
Member Author

so one thing let to another and yeah.... it got a bit bigger than expected.

@bastelfreak
Copy link
Member Author

I have no idea why it fails on puppet 4 :(

@solarkennedy
Copy link
Contributor

Green checkmark!

]
},
{
"operatingsystem": "Scientific Linux",
"operatingsystem": "Scientific",
Copy link
Contributor

Choose a reason for hiding this comment

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

These operatingsystem changes surprised me. Also operatingsystemrelease. This matches what stdlib has, so I buy it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I checked facterdb, and it looks like correct name of the operatingsystem is just Scientific and not Scientific Linux: https://github.com/camptocamp/facterdb/blob/b34375a91d9d153dd7c81d72fde5d01db0e195a2/facts/2.5/scientific-6-x86_64.facts#L17

@solarkennedy
Copy link
Contributor

This is a pretty huge deal. Thank you for spending (I'm sure) hours on this. I know how hard it can be to keep things in sync as gems change, especially beaker.

This is a reasonably large refactor, do you think I should combine this with a major version release? With the facts[] stuff, I'm sure there is a reasonable subset of people who are using this module on old versions of puppet and it "works", but won't work after this (right?).

@bastelfreak
Copy link
Member Author

The module currently supports Puppet 4.7.1 and newer, the facts hash is available since 4.0. In my opinion a major release isn't required. But we should probably bump the default consul version we install to the latest one and that qualifies as a major release.

@solarkennedy
Copy link
Contributor

Got it. Merge when ready!

@bastelfreak
Copy link
Member Author

@solarkennedy IMO this is ready. Or do you have some parts that you would like to have changed?

@solarkennedy
Copy link
Contributor

Nope!

@solarkennedy solarkennedy merged commit c1f2d75 into voxpupuli:master Oct 2, 2018
@bastelfreak bastelfreak deleted the tests branch October 4, 2018 19:28
spuder pushed a commit to spuder/puppet-consul that referenced this pull request Feb 25, 2020
Fix broken testmatrix due to gem updates
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.

None yet

2 participants