Fixes #844 #5725 - correct hosts count in puppetclass
Fixes #7954 - When creating a host cant is spelled wrong under partition table side note
Fixes #746 - Generate all the Host template when click on Build to avoid errors during installation
Fixes #2089 - Add network configuration to ENC
Fixes #6710 - unicode characters in url parameters
Original methods to_param defined on resources called name.parameterizeto get rid of url-unsafe characters. This function unfortunately alsostripped off unicode characters.
Changes:- parameterization extracted into a separate module Parameterizable...
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 - Use parentheses in method definitions
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 #7163 - on host's edit page, show the source for the value of puppet class parameters.
Fixes #7572 - remove rundeck from core
Foreman rundeck is now a plugin available in https://github.com/theforeman/foreman_host_rundeck
fixes #4386 - gem friendly_id to simplify find by id, name, label, etc
Fixes #6695: Adding two OS parameters with same name should raise an error
Fixes #6468 - Allow filtering/searching by active user
Fixes #5692 - correct counts in cached_counters
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 #5926 - hide sensitive parameter values
User can check to hide value when creating or editing global parameter.The value is masked by *** and is also not displayed when overriding.
Fixes #6998 - Accept native true for overwrite parameter to host API.
Fixes #6560 - Extract puppet parsing logic
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 #215: Parameters can be saved without a value
fixes #6636, #6657, #6694 - add field length validations, extend audit field length
fixes #6430 - validate presence of location and organization for managed host if Settings are turned on
fixes #6618 - provide an indentation helper for provisioning templates
fixes #3664 - support deletion of installation media that's in use
fixes #4155 - enable host/CR (dis)association via api
fixes #6358 - Update LookupValue fqdn matchers when a host is renamed
fixes #6177 - clear host facts/reports when build=true set over API
fixes #6410 - update to deep_cloneable 2.0
[REFACTOR] refs #6229 - extract validation to a method
this enables plugins (e.g. katello) to override the validation whenrequried.
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 #5722: VM-based host cloning picks up existing compute attributes
fixes #5708: #nil? is now an allowed method inside of Host and Token jails
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 #5450 - add realm to params for 1.4-compatible use in templates
fixes #5444 - add param_false? host method and allow in templates
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 #5053 - minor bug fixes to realm integration
fixes #4381: dns records are being update after changes to host when dhcp is also present
Fixes #4976 - ensure the process is really running inside a rake task
fixes #1809 - foreman realm integration
fixes #1966 - improved UI errors for proxy
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 #4256 - makes columns sortable in the UI
fixes #4123 - libvirt imaging support using backing volumes
fixes #4485 prevents undefined method when cloning a host
fixes #4583 - Added Environment name to rundeck output
fixes #4524 - The logged in user should be the default one in create new hosts
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4015 - support oVirt using templates like images
fixes #3912 - add inheritance for locations / organizations
fixes #3939 - add option to 'inherit from parent' for hostgroup attributes
fixes #4234 - cannot edit host's puppet parameters
fixes #3725, #4167 - root password validations, remove default password
fixes #3697, #3701 - more comprehensive field validations
fixes #3099 - Adding parameters to locations and organizations
fixes #3178 - add feature for compute profiles for hostgroups and hosts
fixes #3339 - nested fact support, allow fact importers to be registered by plugins
fixes #3794 - don't validate IP address that's later provided by a CR
Fixes #3468 - Move token expiry to scope to avoid FK issues
Fixes #3182 - Make IP optional in some circumstances
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event
[REFACTOR] fixes #2967 - refactored Fact Importer
Based on Dmitri Dolguikh <dmitri@appliedlogic.ca> original patch.
- renamed original fact_importer class to fact_parser class- moved fact handling logic to its own fact_importer class- fact importer now assumes single-value facts...
fixes #3249 - change regex syntax from start/end of line to start/end of string
fixes #2741 - rails 3 syntax
fixes #3222 - nil the certname when handling certs if UUID certs have now been disabled
fixes #2179 - validate the owner type, preventing the API returning errors for a wrong owner_type
fixes #2260 Allow ERB in ENC global / class parameters
Adds code to parse the global & class parameters, and adds a setting (default true) to disable this if needed. Also has some tests.
Refs #2414 - Remove Puppet from facts API and Settings
Reports are still in progress and will come in a later PRDB schema is updated to not need puppet/rails
fixes #2431 - handle fact uploads where host is missing $fqdn
Fixes #2501 - Allow my_hosts scope to include all subclasses of Host::Base
Fixes #2821 - Autoload paths, PowerManager children must be in namespace in order to autoload
fixes #2693 - don't cause handle_ca error when no Puppet CA associated with host
fixes #1770 - Refactored rdeckfacts definition to use facts_hash
fixes #2747 - scoped search lambda takes one argument
fixes #1963 - prevent host creation when facts are uploaded via new setting
Fixes #2644 - Refactor Host find_by_name to use several ways to find ahost, and refactor my_hosts scope to Host::Base, allowing us to removeunnecessary permissions check from find_by_name
fixes #1938 Foreman shouldn't use the FQDN fact to identify the node when facts are uploaded
Fixes #2632 - extract strings from validation errors
fixes #2549, fixes #2544 - new host organization and location should default to current context if it exists
fixes #2509, fixes #2507: few issues around Host::Base#merge_facts and fact names
fixes #2130 - normalize_hostname appends domainname to fqdn
When the trailing part of $fqdn doesn't match $domain, the normalize_hostnamefunction would append $domain onto the end of $fqdn, saving the host as$fqdn.$domain (Example: hostname.domain1.com.domain2.com)....
Fixes #2497 - Join to the fact_values table when a user fact-filter is applied
fixes #2498 FactNames are not precreated
Witlessbird's fix to reduce database lookups and do Ruby hash lookups instead
fixes #2478 - smart-variable in ENC stopped working
fixes #2486 - ensure facts import is idempotent when values are unchanged
fixes #2132 Smart Variables in hostgroup. 1. Show smart variables in hostgroup view. 2. Added the GUI to override smart variables values in host group.
Changed validation text s/must be downcase/must be lowercase.
fixes #426 expose BMC information in foreman UI
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
This patch also adds an abstracted power management class for both VMand BM
Fixes #2461 - Allow user to not have a puppet proxy
fixes #2393 - Couple of models broken with audited 3.0.0
this is not a fix for the mass assignment problem, rather just to solve immedient packaing issue upstream.
a follow up on mass assignment should be done via another commit.