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

Feature/acceptance test custom types #573

Merged

Conversation

baurmatt
Copy link
Contributor

Pull Request (PR) description

This PR adds acceptance tests for the zabbix_ custom types.

Beaker is setting up a server with Zabbix database, server and webfrontend and creates the zabbix_* resources. I had to created a custom ServerSpec::Types to interact with the Zabbix API because we can't access it within Beaker by e.g. zabbixapi gem.

This was done to ensure the changes in #570 don't break the custom types.

This Pull Request (PR) fixes the following issues

@baurmatt
Copy link
Contributor Author

God dammit... It worked on my machine without issues... No idea why its breaking in Travis :( Will have a closer look on monday.

@baurmatt baurmatt force-pushed the feature/acceptance_test_custom_types branch from ea54262 to 10923ac Compare December 17, 2018 14:56
@baurmatt baurmatt closed this Dec 17, 2018
@baurmatt baurmatt reopened this Dec 17, 2018
@baurmatt baurmatt closed this Dec 17, 2018
@baurmatt baurmatt reopened this Dec 17, 2018
@baurmatt
Copy link
Contributor Author

#576 should fix the rest of the failing tests.

@baurmatt baurmatt force-pushed the feature/acceptance_test_custom_types branch from 10923ac to b93276d Compare December 21, 2018 10:48
@@ -267,13 +267,19 @@
# "Warning: You cannot collect without storeconfigs being set"
if $manage_resources {
include ruby::dev
$compile_packages = $facts['os']['family'] ? {
Copy link
Member

Choose a reason for hiding this comment

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

Selector statement \o/

@bastelfreak
Copy link
Member

thanks for the awesome work!

@bastelfreak bastelfreak merged commit 5ee5b43 into voxpupuli:master Dec 21, 2018
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