-
Notifications
You must be signed in to change notification settings - Fork 794
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
FM 7783 - Test Audit making testing more efficient #1162
Conversation
280695b
to
5959e5d
Compare
cf2b58b
to
dc4b26f
Compare
spec/acceptance/locales_spec.rb
Outdated
@@ -1,7 +1,7 @@ | |||
require 'spec_helper_acceptance' | |||
require 'beaker/i18n_helper' | |||
|
|||
describe 'mysql localization', if: (fact('osfamily') == 'Debian' || fact('osfamily') == 'RedHat') && (Gem::Version.new(puppet_version) >= Gem::Version.new('4.10.5')) do | |||
describe 'mysql localization', if: (fact('osfamily') == 'debian' || fact('osfamily') == 'redhat') && (Gem::Version.new(puppet_version) >= Gem::Version.new('4.10.5')) do |
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.
fact('osfamily') will need to be changed to: os[:family]
This is removing facter from the codebase and using 'serverspec' instead, serverspec is faster than facter.
@@ -31,20 +45,15 @@ | |||
run_puppet_access_login(user: 'admin') if pe_install? && (Gem::Version.new(puppet_version) >= Gem::Version.new('5.0.0')) | |||
hosts.each do |host| | |||
# This will be removed, this is temporary to test localisation. | |||
if (fact('osfamily') == 'Debian' || fact('osfamily') == 'RedHat') && |
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 localization code may be required, please double check in CI that localization tests run with no issues.
@@ -1,21 +0,0 @@ | |||
# @summary |
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.
Removing this was a bad idea since https://github.com/puppetlabs/puppetlabs-mysql/blob/0a8f0054113c68b60f19e381f9452155b937b31b/lib/puppet/parser/functions/mysql_password.rb still exists...
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.
Fixed in #1299
This effort has been realized by both myself and @Lavinia-Dan
https://jenkins-master-prod-1.delivery.puppetlabs.net/view/modules/view/linux/view/_adhoc/view/mysql/job/forge-module_puppetlabs-mysql_intn-sys_full-pe-current-adhoc/PLATFORM=redhat5-64default.a,WORKER_LABEL=beaker/