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:

modules/puppet_proxy_puppet_api/puppet_proxy_puppet_api_plugin.rb
plugin :puppet_proxy_puppet_api, ::Proxy::VERSION
load_validators :url => ::Proxy::Puppet::Validators::UrlValidator
load_programmable_settings ::Proxy::PuppetApi::PluginConfiguration
load_classes ::Proxy::PuppetApi::PluginConfiguration
load_dependency_injection_wirings ::Proxy::PuppetApi::PluginConfiguration

Also available in: Unified diff