Skip to content

Allow custom plugin installation and usage of JNDI database connections#389

Merged
root-expert merged 1 commit intovoxpupuli:masterfrom
dodevops:custom-plugin-installation
Nov 25, 2021
Merged

Allow custom plugin installation and usage of JNDI database connections#389
root-expert merged 1 commit intovoxpupuli:masterfrom
dodevops:custom-plugin-installation

Conversation

@ThomasMinor
Copy link
Copy Markdown
Contributor

Pull Request (PR) description

Added feature to install custom plugins and use JNDI database connections

This Pull Request (PR) fixes the following issues

n/a

Copy link
Copy Markdown
Member

@root-expert root-expert left a comment

Choose a reason for hiding this comment

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

Hello! Thanks for your conribution!

Take a look at the inline comments I left. If you need any help you can contact us on the #voxpupuli channel on Libera.Chat IRC or on Puppet's Slack (same channel)

Comment thread manifests/init.pp Outdated
Comment thread spec/spec_helper.rb Outdated
@ThomasMinor
Copy link
Copy Markdown
Contributor Author

Hi there, does anyone have a hint how to eliminate the one failing test on CentOS 7? Maybe a good document about running the tests locally?

@kenyon
Copy link
Copy Markdown
Member

kenyon commented Nov 24, 2021

Hi there, does anyone have a hint how to eliminate the one failing test on CentOS 7? Maybe a good document about running the tests locally?

Docs on running tests can be found here: https://github.com/voxpupuli/puppet-jira/blob/master/.github/CONTRIBUTING.md

@root-expert
Copy link
Copy Markdown
Member

Hey @ThomasMinor took a look at the output of the tests. Sadly we have seen this error before. The current workaround is to add these 2 lines in our pipeline.

@ThomasMinor ThomasMinor force-pushed the custom-plugin-installation branch from bf83390 to 390179f Compare November 25, 2021 06:33
@ThomasMinor
Copy link
Copy Markdown
Contributor Author

Hi @root-expert, I followed your advice to add the workaround and the tests succeeded - Thanks!
I just have a few questions now...

  • How did You identified the LANG settings as the cause of the problem from the logged messages?
  • Isn't isn't it a bad idea to modify the ci.yml file due to the modulesync management?

@root-expert
Copy link
Copy Markdown
Member

  • How did You identified the LANG settings as the cause of the problem from the logged messages?

The error was Error: /Stage[main]/Postgresql::Server::Reload/Exec[postgresql_reload]: invalid byte sequence in US-ASCII

bastelfreak had deployed that workaround in the past for puppet-zabbix so it was known to me 😄

  • Isn't isn't it a bad idea to modify the ci.yml file due to the modulesync management?

Yes it will be overwritten, we manually add it back when we are modulesyncing.
There's some discussion here regarding the issue btw.

Copy link
Copy Markdown
Member

@root-expert root-expert left a comment

Choose a reason for hiding this comment

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

Not a user of the module but seems okay to me

@root-expert root-expert changed the title Custom plugin installation Allow custom plugin installation Nov 25, 2021
@root-expert root-expert added the enhancement New feature or request label Nov 25, 2021
@root-expert
Copy link
Copy Markdown
Member

Can you squash you commits before merging?

@ThomasMinor ThomasMinor force-pushed the custom-plugin-installation branch from 390179f to 5dd2004 Compare November 25, 2021 09:55
@root-expert root-expert changed the title Allow custom plugin installation Allow custom plugin installation and usage of JNDI database connections Nov 25, 2021
@root-expert root-expert merged commit f2f8915 into voxpupuli:master Nov 25, 2021
cegeka-jenkins pushed a commit to cegeka/puppet-jira that referenced this pull request Sep 1, 2025
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.

4 participants