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

Provide acceptance tests for zabbix server #392

Merged
merged 6 commits into from
Jun 6, 2017
Merged

Conversation

bastelfreak
Copy link
Member

No description provided.

@bastelfreak
Copy link
Member Author

As somebody may guess based on the branch name: The initial idea was to add proper acceptance testing in an archlinux docker environment. During that I discovered multiple issues in the existing codebase that also match other operatingsystems.

the service got started as root, which is really bad. We now provide the
correct default user based on the operatingsystem, the user can
overwrite it and even start it as root if he wants (by passing
zabbix_user => undef).
@bastelfreak bastelfreak force-pushed the archlinux_docker branch 4 times, most recently from 594de76 to b28a27f Compare June 5, 2017 21:49
We only need to depend on the database, if one is actually used. the
database_type var defaults to postgres, so we can't only rely on that.
there is also a manage_database var. This allows us to only provision
the zabbix-server on one node, and the database on a different one. We
need to configure the systemd unit correctly for this.
@bastelfreak bastelfreak force-pushed the archlinux_docker branch 2 times, most recently from 66a723e to a0d990a Compare June 5, 2017 22:25
@bastelfreak bastelfreak changed the title [WIP] Provide acceptance tests for zabbix server Provide acceptance tests for zabbix server Jun 5, 2017
the server, as the agent, have issues with running selinux. their
shipped policy isn't complete. As a workaround we provide our own
selinux module.
We don't support RHEL5 anymore. It is EOL
The official CentOS docker container disables the installation of
RPM docs in the image via the yum.conf file. The added code will check
beaker host platform for EL 7 and host hypervisor for docker and
re-enable the installation of docs files.

This change is due to zabbix-server-pgsql tests failing as it relies
on a sample file provided in the RPM docs directory.
Copy link
Member

@mmerfort mmerfort left a comment

Choose a reason for hiding this comment

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

Looks good.

@bastelfreak bastelfreak merged commit 0970328 into master Jun 6, 2017
@bastelfreak bastelfreak deleted the archlinux_docker branch June 6, 2017 21:24
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.

4 participants