We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25a5609 + 477a1a0 commit 680149fCopy full SHA for 680149f
spec/spec_helper_acceptance.rb
@@ -31,7 +31,8 @@
31
run_puppet_access_login(user: 'admin') if pe_install? && puppet_version =~ %r{(5\.\d\.\d)}
32
hosts.each do |host|
33
# This will be removed, this is temporary to test localisation.
34
- if (fact('osfamily') == 'Debian' || fact('osfamily') == 'RedHat') && (puppet_version >= '4.10.5' && puppet_version < '5.2.0')
+ if (fact('osfamily') == 'Debian' || fact('osfamily') == 'RedHat') && (Gem::Version.new(puppet_version) >= Gem::Version.new('4.10.5') &&
35
+ Gem::Version.new(puppet_version) < Gem::Version.new('5.2.0'))
36
on(host, 'mkdir /opt/puppetlabs/puppet/share/locale/ja')
37
on(host, 'touch /opt/puppetlabs/puppet/share/locale/ja/puppet.po')
38
end
0 commit comments