fixes #8521 - fix classes accessors, copy overrides on host clone
The various 'classes' accessors that are used in the UI for displayingthe Puppet classes tab only really worked for saved objects, so they'rechanged to work better on an unsaved cloned object. Tests now check...
Fixes #10782 - global host status
Plugins can add their own substatuses. These are automatically...
fixes #10832 - separating lookup keys into puppet and variable
fixes #11570 - returning 'dependent destroy' to lookup values
Fixes #11031 - ignore identifiers of interfaces being destroyed
Fixes #11282 - Search on numeric facts is broken if using "~"
Fixes #10248 - cloning volume information for virtual machines
Fixes #1453 - add use_image and jumpstart helpers to Host jail
Fixes #9591 - Added support for "inherit" state.
Fixes #11150 - Allow searching of facts as types other than string
Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
fixes #11095 - lookup keys do not get saved to db on setter invokation
Fixes #10915 - Deleting a host removes all host specific overrides
Fixes #10785 - force encoding for encrypted fields
Fixes #10607 - match bonds based on identifier only
Fixes #10888 - skip attached_to updates if identifier was blank
Fixes #10633 - Associate architechture to OS during fact import
Fixes #7096 - Adds STI to templates
This commit converts Ptables to be just another type of Template so itgets the same features as ConfigTemplate. ConfigTemplate was renamed toProvisioningTemplate to reflect UI and the name under it's commonly known.
fixes #10720 - Adds API to get host vm attributes
This exposes an API to fetch a host's vm_compute_attributes,such as vmware cpus and memory. It lives at a separate endpointbecause it involves a fetch for data from the compute resource,and may have different performance characteristics than the database.
fixes #9301 - make puppet environment optional for hosts
fixes #1510 - notification when host finishes building
Fixes #10535 - building a token instead of creating it until host is saved
fixes #10403 - resync names of unmanaged hosts to their primary NIC
MoveHostNicsToInterfaces previously ignored unmanaged hosts, but theyneed migrating too. Updated the existing migration to migrate both,then for existing hosts, add a new migration to ensure all primary NIC...
fixes #10298 - handle destroyed but present interfaces
When deleting a host and DHCP orchestration is removing reservations for NICs,it generates a dhcp_record that contains next-server data. Determining thenext-server IP causes the primary interface to be fetched for DNS resolution,...
fixes #10168 - delegate fqdn/shortname to primary interface
Fixes #10111 - Use a dummy primary interface for unmanaged hosts
Unmanaged hosts require a host interface due to delegation of networkingattributes, and some others like 'name'. Since unmanaged hosts do notnecessarily have an interface associated (unless created through puppet...
fixes #10234 - Fix NIC taxonomies validation tests
Some of the tests in #9391 changed the way subnets should work regardingtaxonomies and some test data, this commit fixes that so tests are greenonce again.
Fixes #9391 - Added validation code to NIC, so it validates that host's location/org is compatible with the one set on NIC's subnet
fixes #10020 - add next-server/filename attrs to provision NIC DHCP record
A host's DHCP record used to be constructed with PXE attributes inOrchestration::DHCP, but moved to Nic::Managed during 43c4bd7. Nic::Manageddidn't add PXE attributes, so this commit adds these when provision? is set....
fixes #9993 - Removes root password and partition table reqs unless build mode selected
Fixes #9947 - restrict user taxonomies if none is set
Fixes #8890 - Allow selection of plaintext "encryption" method for root password
Fixes #9618 - make identifier uniq per host
Fixes #8779 - add vlanid to subnet ENC
fixes #8358 - validate domain on host update
fixes #8878 - ensure domain fact is downcased prior to import
Fixes #9547 - DHCP is default subnet boot mode
Fixes #9590 - make info test less fragile
Fixes #9147 - move managed checks to the start of the DHCP/DNS/TFTP orchestration checks
Fixes #9500 - matching uses the whole domain name
Refs #3809 - Remove cop IndentationConsistency
Refs #3809 - Remove cops for empty lines
Fixes #9186 - build interface if needed during facts import
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
Fixes #9044 - fixes invalid mac in tests
Also do not reset invalid mac address to nil so we can propagate propervalidation error.
fixes #6098 - ec2 compute resources now check image validity.
fixes #6369 - allow to override puppet ca/master to nil
Refs #3809 - Enable cop BarePercentLiterals
fixes #8739 - use global setting when hostgroup root_pass is blank
A blank (not nil) root_pass on hostgroups was preventing correct inheritancefrom settings in both hosts and nested hostgroups.
root_pass was also being copied from parents/settings to hostgroups when they...
fixes #8685 - include netmask in ENC output
fixes #8539 - refactoring a test to work for both GNU libc and Darwin libc
Fixes #8546 - Namespace interfaces and subnets to avoid a facts clash
Refs #3809 - Remove useless assignments
Fixes #8321 - correctly pull Compute Resource image method from compute attributes
Fixes #2089 - Add network configuration to ENC
Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead
Fixes #7401 - Add support for bonds
Renames physical_device to attached_to and move the virtual deviceform out of BMC.Extends the form for Bond devicesAllow configuration of bonds in KS templateParsing of Bond interfaces from factsMac address is required only for physical devices
Refs #3809 - Fix a few rubocop TODOs
Refs #3809 - Remove rubocop TODOs
Removed the following TODOs so that cops for these will run from now on:
Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethodsEnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,UselessAccessModifier,...
Fixes #7572 - remove rundeck from core
Foreman rundeck is now a plugin available in https://github.com/theforeman/foreman_host_rundeck
Fixes #6695: Adding two OS parameters with same name should raise an error
Fixes #6468 - Allow filtering/searching by active user
fixes #4375: provisioning no longer loops when using oVirt + compute profile
Fixes #7344 - ignore saving errors during fact parsing
Fixes #6444 - add support for virtual NICs
Extend additional interface details refs #2240
NIC facts parsing change and we create interfaces in Foreman accordingto facts we recieve.
Subclasses does not define their own attributes and serialize them toattrs hash. All BMC attributes are extracted to separate columns so it's...
Fixes #6998 - Accept native true for overwrite parameter to host API.
Fixes #6566 - renaming a node now resets the certname on provision
If use_uuid_for_certificates is true, reuse the certname UUID value.If false, then reset the certname if it does not match the hostname.
fixes #6430 - validate presence of location and organization for managed host if Settings are turned on
fixes #3664 - support deletion of installation media that's in use
fixes #6358 - Update LookupValue fqdn matchers when a host is renamed
fixes #3272 - allow 'admin' account to be removed and replaced
fixes #6177 - clear host facts/reports when build=true set over API
fixes #5915 - Add support for Infiniband 64-bit MAC addresses
fixes #6229 - validate installation media exists for new host if pxe_build
fixes #6228 - disable provisioning method radio boxes after host is provisioned
fixes #5848 - can't search for host with class inherited from config group
fixes #5722: VM-based host cloning picks up existing compute attributes
fixes #6116 - search hosts by parent host group and its decendants
fixes #5834 - Hosts: . in the name is invalid - user is told this but the UI adds one anyway
fixes #5690 - determine host taxonomy fact based on setting value
fixes #4250 - API v2 - add compute profiles
fixes #2785 - host model clone method also copies relationships using deep_cloneable gem
fixes #5246 - remove second host/class lookup impl so config groups are included in ENC output
fixes #4204 - add config groups feature - assign multiple config groups to a host or hostgroup
Fixes #4976 - ensure the process is really running inside a rake task
refs #2189 - update host group parameter search tests
fixes #1804 - find hosts through nested hostgroups on puppet class search
fixes #3214 - set taxonomy for hosts created via Puppet from facts or a default setting
Fixes #4680 - Don't append periods to unqualified unmanaged hosts
fixes #4314 - ignore default scope ordering on host search by puppet class
fixes #4123 - libvirt imaging support using backing volumes
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4393 - rename ancestry label to title
refs #4289 - tests for adding, deleting and updating lookup_values on host
fixes #4234 - cannot edit host's puppet parameters
fixes #3725, #4167 - root password validations, remove default password
refs #3697, #3701 - fix test with multiple validation failures
fixes #3697, #3701 - more comprehensive field validations
fixes #3178 - add feature for compute profiles for hostgroups and hosts
fixes #3752 - move data population from migrations into seed script