Fixes #19789 - fix Layout/SpaceAroundOperators cop
Fixes #23859 - Fix vm_exists? method
Fix related tests
fixes #23178 - seeded location should be in seeded org
When creating a host in the seeded org and seeded loc, host saves andthen organization becomes invalid: "Locations expecting locations usedby hosts or inherited (check mismatches report)."
Fixes #19781 - Fix Layout/LeadingCommentSpace cop
Fixes #23331 - grouped permissions for host disabled (#5468)
Fixes #23339 - Port robottelo tests for hosts
Fixes #23254 - Utilize webmock to prevent network connection
in tests
Fixes #15411 - Move smart_proxy_ids_for to Host
Fixes #19787 - Fix Layout/SpaceAfterComma cop
Fixes #23123 - Fix Rails/ActiveRecordAliases cop
Fixes #22796 - fact importing telemetry
Fixes #6504 - refactoring host tests regarding taxonomies
Fixes #22556 - Correct host search for parent hostgroup
Currently, searching on a non-existant parent fails due to`hostgroup.subtree_ids` throwing a NoMethodError when no matchinghostgroup is found. This is rescued by scoped search, causing thesearch to run with no conditions instead....
Fixes #22328 - Fix Lint/InterpolationCheck cop
Fixes #19838 - Fix Rails/PluralizationGrammar cop
Refs #22164 - use cheaper FactoryBot methods
in- test/unit/*- test/models/shared/taxonomies_base_test.rb- test/controllers/hosts_controller_test.rb
Fixes #5790 - Add compute resource to hostgroup (#4593)
Fixes #19782 - Fix Layout/MultilineArrayBraceLayout cop
Fixes #21851 - Remove deprecations for 1.17
Fixes #21760 - Fix tests on Rails 5.1
Fixes #21565 - Orchestration on fact import
This adds the enable_orchestration_on_fact_import setting, which allowsa user to make Foreman perform host orchestration operations when ahost is updated from puppet fact upload
Fixes #21424 - use factory_bot_rails
Fixes #21037 - use Host::Base as auditable_type
Otherwise, we are hitting "Invalid single-table inheritance type:Host::Discovered is not a subclass of Host::Managed" when converting thehost from discovered to managed.
Fixes #15409 - Separated puppet facts from core
Fixes #20958 - Don't pass argument to force association reload
Fixes #20953 - Remove assert_nothing_raised args
fixes #20646 - clear host_id during interface cloning
Fixes #16884 - enforce granular filters even during save
Fixes #19808 - Remove useless assignments
Fixes #20066 - added safe renderer to global params
Fixes #15711 - Redesigned host info to providers.
Now you can add your own info by registering ahost method that will return info hash.
fixes #19131 - upgrade minitest to latest 5.x
- override minitest's `_` expectation method with the gettext method- rename `location` let helper, conflicted with a minitest method name- fix `assert_equal nil, [..]` deprecation warnings, prefer `assert nil`...
fixes #17895 - do not import link-local ipv6 addr fact
Fixes #18800 - strong params no longer breaks inherited attrs
Fixes #14013 - add a setting for default owner of new hosts
Fixes #17272 - Fixed Searches on parameters with !=
Fixes #16982 - Scope properly when no taxonomies are set
The default scope for hosts and other objects did not restrictproperly by taxonomies. An user without organizations orlocations, could do anything it's permissions allow to.The list of hosts was unrestricted and showed hosts in...
Fixes #16752 - Extract template code from Host::Managed
Host::Managed contains a lot of code related with determining thetemplate that a host should have. Other Host objects such asHost::Discovered might need that logic, without becoming aHost::Managed....
Fixes #17680 - templates_used host helper
templates_used contains the names of all of the provisioning templateskickstart used during a host build. This allows users to be able toshow the name of a provisioning template during PXEBoot, for example
Fixes #17886 - move config groups under parameters
fixes #17853 - resolve ips in interface scope
Fixes #17257 - Allow specific configs to be recreated
fixes #15610 - choose firmware for vsphere vms
Fixes #6006 - Add options to disable updates from facts
Add option ignore_facts_for_operatingsystem: do not update system's operating system based on facts Add option ignore_facts_for_domain: do not update system's domain based on facts
fixes #17095 - ensure subnet belongs to ip from facts
Fixes #17238 - Validates lookup value match exists in key path
Fixes #16546 - update facts on existing hosts
when create_new_host_when_facts_are_uploaded is set to false
fixes #17071 - set ip after acquiring compute details
fixes #17187 - v6 ip not required when cr provides v4
Fixes #17103 - search ignored taxonomies
When searching for ProvisioningTemplate we should respect also hosttaxonomies ignore list.
fixes #16866 - don't call orchestration skip if unattended is off
fixes #17086 - export nic ipv6 address for ENC
fixes #17041 - skips orchestration when importing facts
The orchestration callbacks only run if unless :skip_orchestration?,however skip_orchestration? is not a method for Nic::Managed causing thecallbacks to always run, even if importing facts.
fixes #16900 - ensure interface mac address is unicast
Fixes #6492 - ipmi_boot permission renamed to ipmi_boot_hosts
Authorizer expects permission names to follow a convention'action'_'controller'. However this permission was not following it, andthis prevented the permission from being applied properly.
Before this fix, only admins could call ipmi_boot. I've also added a...
Fixes #13968 - Add error when no known proxy features found
Fixes #12864 - verify host owner taxonomies
fixes #16749 - improve NIC update performance during fact imports
- In get_facts_for_interface, replace regexes in hash key filtering with simple String methods and simplify hash construction- Change logger.debug to lazy evaluation for production performance,...
fixes #16557 - move tests into modern Rails layout
Models, controllers, mailers and helpers are now in test/ subdirsmatching app/ subdirs. Service, miscellaneous and old test/lib/ testsare now in test/unit/ separated from models, which obsoletes the custom...