Revision df97473b
Added by Eric Helms about 10 years ago
lib/katello/load_configuration.rb | ||
---|---|---|
root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
|
||
|
||
@configuration_loader ||= Configuration::Loader.new(
|
||
:config_file_paths => %W(#{root}/config/katello.yml /etc/katello/katello.yml),
|
||
:config_file_paths => %W(#{root}/config/katello.yml
|
||
#{Rails.root}/config/settings.plugins.d/katello.yaml
|
||
/etc/katello/katello.yml),
|
||
:default_config_file_path => "#{root}/config/katello_defaults.yml",
|
||
|
||
:validation => lambda do |*_|
|
Also available in: Unified diff
Adding config path that points to foreman/config/settings.plugins.d
to allow placement of the Katello yaml file in the plugin config location.