Skip to content

Commit

Permalink
Fixes #7999 - do not match on 1.6.x releases
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki authored and ohadlevy committed Oct 26, 2014
1 parent a1ef1fc commit d5c65b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/host/discovered.rb
Expand Up @@ -77,7 +77,7 @@ def attributes_to_import_from_facts

def populate_fields_from_facts facts = self.facts_hash, type = 'puppet'
# type arg only added in 1.7
if Gem::Dependency.new('', '> 1.6').match?('', SETTINGS[:version].notag)
if Gem::Dependency.new('', '>= 1.7').match?('', SETTINGS[:version].notag)
importer = super
else
importer = super(facts)
Expand Down

0 comments on commit d5c65b2

Please sign in to comment.