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

Verify EPEL support in acceptance tests #315

Closed
wants to merge 1 commit into from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Sep 14, 2017

Now CentOS 7.4 is out this pending statement can be removed.

https://lists.centos.org/pipermail/centos-announce/2017-September/022532.html

@wyardley
Copy link
Contributor

Acceptance test still seems to be seeing the source as nodesource.

Also, there's an unrelated mocha error that I've seen locally now showing up in the regular spec tests.

@ekohl
Copy link
Member Author

ekohl commented Sep 14, 2017

I will admit that I didn't run it locally, just sent it to Travis. Otherwise I'm not surprised this fails: the resource is ensured to be installed so most likely it needs to be removed before running the tests.

@wyardley
Copy link
Contributor

Also, in the Vagrant (vs. Docker) boxes, do they run a yum update when they come up, or would we need Puppetlabs to pack a new CentOS 7 box before these will work?

@wyardley
Copy link
Contributor

wyardley commented Sep 14, 2017

Otherwise I'm not surprised this fails: the resource is ensured to be installed so most likely it needs to be removed before running the tests.

Yeah, we do something similar in puppet-nginx. Good point.
But also, I think the [Vagrant] acceptance test box is still 7.3:

[root@centos-7-x64 ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core) 

edit: oh, this is using centos/7 vs. the puppetlabs ones, so I think I can just let the new version get downloaded.

@ekohl
Copy link
Member Author

ekohl commented Sep 14, 2017

Also, in the Vagrant (vs. Docker) boxes, do they run a yum update when they come up, or would we need Puppetlabs to pack a new CentOS 7 box before these will work?

I expect they don't but don't have to either. There is only one CentOS 7 URL so it'll find the dependency and install it when needed. No need to update the full box though the docker image is already updated.

@wyardley
Copy link
Contributor

What do you think the cleanest way is to remove the package within the acceptance test? It's already running only on RedHat, so could I guess remove with yum / rpm, but maybe should use puppet resource?

@ekohl
Copy link
Member Author

ekohl commented Sep 14, 2017

puppet resource is the easiest. We could add a before(:all) block to do that.

@wyardley
Copy link
Contributor

ps, I think the error in https://travis-ci.org/voxpupuli/puppet-nodejs/jobs/275380441 is the same as #312
Not sure why that wasn't showing up earlier.

@wyardley
Copy link
Contributor

@ekohl have you had a chance to revisit this?

@ekohl
Copy link
Member Author

ekohl commented Oct 25, 2017

@wyardley no I haven't and I don't think I'll have time to in the near future.

@wyardley
Copy link
Contributor

No worries, I will see if I can work on it. We got some clarity on what the expectation is, so may just need to not try and check where the package is coming from.

@wyardley wyardley closed this Oct 25, 2017
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