diff --git a/app/models/host/discovered.rb b/app/models/host/discovered.rb index b513197b..93c4dec3 100644 --- a/app/models/host/discovered.rb +++ b/app/models/host/discovered.rb @@ -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)