fixes #5246 - remove second host/class lookup impl so config groups are included in ENC output
(cherry picked from commit 46b3d8f1f5dff70b961266232f0041beabea8e0d)
fixes #5105 - remove Setting['remove_classes_not_in_environment']
fixes #3214 - set taxonomy for hosts created via Puppet from facts or a default setting
fixes #3725, #4167 - root password validations, remove default password
Fixes #3569, #3210 - Use port from foreman_url for templates
fixes #3364 Add option to disable automatc host creation when a report is received
fixes #2975 added setting for using the shortname instead of FQDN for new virtual machines
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.
fixes #1745 - make puppetmaster hostname/domain stripping behaviour configurable
Fixes #2576 - Add optional update of Host.ip from built request
fixes #1963 - prevent host creation when facts are uploaded via new setting
fixes #2660 - settings, improve tests and fixes
- added string settings type- fixed tests previously commented out due to CI failures- more tests for core settings functionality- parsing of string values enhanced and extracted to a separate method- setting value to nil when it equals default is back...
fixes #2539 - added API puppetrun access permission and test
fixes #2407 - Add STI to settings model
Also adds some tests for rendering new/missing STI models, andrefactors the old default_settings loader into the new sub-models.
fixes #2417 - SSO abstractioning
Apache and Signo SSO reworked to a new general SSO concept.
You can use SSO service that comes with Katello for loggin in. It'sbased on OpenID protocol with slightly customized provider.
fixes #2247 Provides an option to disable the use of gravatara
A new setting is added, use_gravatar. It defaults to true. If it is set to false, then the gravatarcall out is not used and only the default user icon is used.
fixes #2153 - add trusted_puppetmaster_hosts setting to permit puppetmaster access
Connections to fact + report upload and externalNodes will be permitted fromany host listed in the trusted_puppetmaster_hosts setting, bypassing therequirement for a registered smart proxy....
fixes #2124 - only include classes from the host current environment.
This patch introduce a new setting, which decide how would foremanaddress a mismatch between host and hostgruop environments.
for example, when puppet classes (directly or indirectly via hostgroups) that do not...
fixes #2151 - use DN environment variable instead of CN
nginx is unable to pass bits of the X.509 subject, only the entire DN, sosupport that as a lowest common denominator.
fixes #2121, #2069 - restrict importers and ENC to puppetmasters and users
CVE-2013-0171: report and fact importers parse YAML directly from the remotehost without authentication. Untrusted YAML can instantiate objects and beused to exploit Foreman.
CVE-2013-0174: external nodes (ENC) output is available to any source and...
Use tokens for discovery of host identity during installation
- fixes #1069- fixes #1720- refs #969
fixes #832 - adds parameterized class support
Credits:This patch is based on the original work of Olivier Favre<olivier@yakaz.com> many many thanks!
fixes #1820 - Authenticate API calls via REMOTE_USER
This patch allows API requests authentication via REMOTE_USERonly if authorize_login_delegation and authorize_login_delegation_apiare enabled.
fixes #1799 moved REMOTE_ADDR verification to settings
fixes #1544 - Updating a host fails if you cannot reach the SOA nameservers
fixes #137 - Better support for non-hostname certnames
This patch introduce a new setting :use_uuid_for_certificates whichdefaults to false.
users who wish to deploy their hosts using a random unique id, shouldenable that setting, and use the certname directive in their puppet.conf...
refs #1530 - ensure enc_environment is in a fixture
fixes #1446 - expire idle web sessions
wrong setting category - refs #636
fixes #685 - records per page should be configurable
This patch adds a new setting how many records should be per page.
note that since the code is in the ActiveRecord::Base class, and thatits in lib (e.g. loaded once) you would need to restart foreman everytime you change this value....
fixes #1043 - make autosign optional
fixes #322 Ability to add custom variables and multiple values resovledin a dynamic Hierarchally order
This commits introduces the ability to define variables per puppetclass.
additionally, each class can have multiple values, depends on the hostwhich is requesting that variable....
splitted setting default data from the migrationthis allows to add new data and modify its defaultsimproved settings UI a bit morerefs #100
fixes #100 - Setting is now a ActiveRecord object
This allows users to manage foreman settings via the UI.
the UI is a bit ugly, but works :)