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

Allow latest version of the PostgreSQL module #849

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

teluq-pbrideau
Copy link
Contributor

Pull Request (PR) description

Update postgresql module dependency to < 9

@smortex smortex added the enhancement New feature or request label Nov 14, 2022
@teluq-pbrideau
Copy link
Contributor Author

teluq-pbrideau commented Nov 16, 2022

I don’t think the postgresql module version makes the server.sql file unavailable...

  Notice: /Stage[main]/Zabbix::Database::Postgresql/Exec[zabbix_server_create.sql]/returns: psql: error: server.sql: No such file or directory
  Error: 'cd /usr/share/doc/zabbix-sql-scripts/postgresql/ && if [ -f server.sql.gz ]; then gunzip -f server.sql.gz ; fi && psql -h 'localhost' -U 'zabbix_server' -d 'zabbix_server' -f server.sql && touch /etc/zabbix/.schema.done' returned 1 instead of one of [0]
  Error: /Stage[main]/Zabbix::Database::Postgresql/Exec[zabbix_server_create.sql]/returns: change from 'notrun' to ['0'] failed: 'cd /usr/share/doc/zabbix-sql-scripts/postgresql/ && if [ -f server.sql.gz ]; then gunzip -f server.sql.gz ; fi && psql -h 'localhost' -U 'zabbix_server' -d 'zabbix_server' -f server.sql && touch /etc/zabbix/.schema.done' returned 1 instead of one of [0]

This should probably be fixed elsewhere

edit to add: is probably the issue #838

@smortex smortex removed the enhancement New feature or request label Dec 6, 2022
@smortex smortex changed the title Update postgresql module dependency Allow latest version of the PostgreSQL module Dec 6, 2022
@smortex
Copy link
Member

smortex commented Dec 6, 2022

Just to be sure, can you rebase on top of master to confirm that integration tests pass?

@smortex smortex merged commit 5c624b8 into voxpupuli:master Dec 6, 2022
@evgeni evgeni added the enhancement New feature or request label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants