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

Properly require zabbixapi gem #572

Merged
merged 1 commit into from
Dec 15, 2018

Conversation

baurmatt
Copy link
Contributor

Pull Request (PR) description

This PR changes how we require the zabbixapi to the recommended way by creating a feature for it which we later confine.

This Pull Request (PR) fixes the following issues

@baurmatt
Copy link
Contributor Author

I have no idea why the test breaks... If I comment out confine feature: :zabbixapi in lib/puppet/provider/zabbix_template/ruby.rb it works fine.

@alexjfisher Do you have an idea why? git history shows that you implemented the test.

@baurmatt
Copy link
Contributor Author

So seems like not getting a good night of sleeps helps solving problems.... The problem seems to be, that the zabbixapi gem isn't available in the tests. After adding that, the tests run fine.

@alexjfisher
Copy link
Member

I can't work out how it passed before though...

@bastelfreak bastelfreak added the bug Something isn't working label Dec 15, 2018
@bastelfreak
Copy link
Member

Thanks for fixing this @baurmatt !

@bastelfreak bastelfreak merged commit 1a8808e into voxpupuli:master Dec 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants