-
-
Notifications
You must be signed in to change notification settings - Fork 3
feat: use OpenVox packages when possible #9
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
base: main
Are you sure you want to change the base?
Conversation
this is now done in voxpupuli-test
We don't use puppetlabs_spec_helper anymore.
idempotent_apply is a puppet_litmus helper
* EN_us.UTF-8 choice breaks install if the locale is not installed on the system, revert default DB locale to C.UTF-8 * Introduce database_locale to change it Kudos @JGodin-C2C @saimonn References puppetlabs/puppetlabs-puppetdb#412 puppetlabs/puppetlabs-puppetdb#421 puppetlabs/puppetlabs-puppetdb#422
$puppetdb_package = inline_epp('openvoxdb<%= $puppetdb::params::puppetdb_major_version %>') | ||
$terminus_package = inline_epp('openvoxdb-terminus<%= $puppetdb::params::puppetdb_major_version %>') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this existed before, but isn't this equivalent to:
$puppetdb_package = inline_epp('openvoxdb<%= $puppetdb::params::puppetdb_major_version %>') | |
$terminus_package = inline_epp('openvoxdb-terminus<%= $puppetdb::params::puppetdb_major_version %>') | |
$puppetdb_package = "openvoxdb-${puppetdb::params::puppetdb_major_version}" | |
$terminus_package = "openvoxdb-terminus-${puppetdb::params::puppetdb_major_version}" |
match => '^PIDFile.*', | ||
append_on_no_match => false, | ||
require => Package['puppetdb'], | ||
require => Package['openvoxdb'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we dropped PIDFile
from our services in OpenVoxProject/ezbake@b2de7c7 so I think this whole workaround may no longer be needed.
port: params[:database_port].to_i, | ||
encoding: 'UTF8', | ||
locale: 'en_US.UTF-8' | ||
locale: 'C.UTF-8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This belongs in the other patch where the locale is changed.
package { $puppetserver_package: | ||
ensure => installed, | ||
} | ||
# savagely disable dropsonde |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't ship dropsonde in our packages so this shouldn't be needed.
match => '^PIDFile.*', | ||
append_on_no_match => false, | ||
require => Package['puppetserver'], | ||
require => Package['openvox-server'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this workaround anymore.
No description provided.