foremancommunity-templatesforeman_api
fixes #12207 - objects with ancestors should not call ancestors if cached
up until now, ancestry objects always called their ancestors whenlinking to the object because to_param called get_title instead of title(which can be cached)this caused a LOT of pointless queries, slowed down Hosts#index alot
fixes #11345 - API GET request available_clusters sends empty hash
Fixes #12004, #11999 - Remove reserved words from Environment friendly_id
Restores use of friendly_id, but removes 'new', 'edit' etc from thereserved words list to ensure they can be used as identifiers.
Reverts the id-name parameterization to purely name, which fixes...
refs #12147 - adding permissions setter to roles
Problem
Calling FactoryGirl.build(:role, :permissions => []) needs a setterdirectly on role. Otherwise it fails on Rails 4 with:ActiveRecord::HasManyThroughNestedAssociationsAreReadonly: Cannot modify...
refs #12147 - adding safety guards to method_missing on compute attributes
There's no need to pass to vm_atts when the method is a setter, also,there's no need to pass if vm_attrs is blank. Those safety guards arerequired in rails4, and compatible with 3.
Fixes #12102 - Adds socket errors catching to rackspace test connection
Without that, the user doesn't get feedback about problems in the connection to the racksapce service, such as invalid server address.
Fixes #11972 - ignore specific interfaces via settings
Fixes #11987 - Check exit code of deployment scripts
This commit fixes checking exit codes returned from provisioning templates, which were ignoredbecause of sending results through pipe to command tee. Also adds optional host deleting if deploymentfails because of non zero exit code. This can be configured by setting clean_up_failed_deployment...
fixes #12095 - prevent escaping of lookup key default value with ERB
When the current default value is retrieved from a lookup key viadefault_value_before_type_cast, do not re-dump values containing ERB asthey will not have been cast already. This prevents them being escaped...
fixes #11881 - Searching for "puppet" in Puppet Classes takes long - Set only_explicit to host and config groups definitions in puppetclasses
View revisions
Also available in: Atom