Project

General

Profile

« Previous | Next » 

Revision 8b27dabf

Added by Ewoud Kohl van Wijngaarden about 4 years ago

Fixes #29468 - Add default URL validator for plugins

URL settings are common and this moves it from a custom validator in the
Puppet module to a default. Also adds tests and ensures the dhcp and dns
libvirt providers use it too.

View differences:

lib/proxy/default_plugin_validators.rb
class Proxy::DefaultPluginValidators
def self.validators
{:file_readable => ::Proxy::PluginValidators::FileReadable, :presence => ::Proxy::PluginValidators::Presence}
{
file_readable: ::Proxy::PluginValidators::FileReadable,
presence: ::Proxy::PluginValidators::Presence,
url: ::Proxy::PluginValidators::Url,
}
end
end

Also available in: Unified diff