Skip to content

Commit

Permalink
Merge pull request #51 from HAIL9000/maint/master/please_let_this_end
Browse files Browse the repository at this point in the history
(maint) Actually fix conditional statement
  • Loading branch information
bmjen committed Nov 14, 2016
2 parents bcae16d + aaa6cd9 commit 949b326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
hosts.each do |host|
puppet_version = (on default, puppet('--version')).output.chomp

if Gem::Version.new(puppet_version).to_s =~ /Puppet Enterprise /
if puppet_version =~ /Puppet Enterprise /
on host, puppet('resource package hocon provider=pe_gem')
elsif ENV['PUPPET_INSTALL_TYPE'] != 'foss' && Gem::Version.new(puppet_version) >= Gem::Version.new('4.0.0')
on host, puppet('resource package hocon provider=puppet_gem')
Expand Down

0 comments on commit 949b326

Please sign in to comment.