Revision 8b27dabf
Added by Ewoud Kohl van Wijngaarden about 4 years ago
modules/dns_libvirt/dns_libvirt_plugin.rb | ||
---|---|---|
requires :dns, ::Proxy::VERSION
|
||
|
||
default_settings :url => "qemu:///system", :network => 'default'
|
||
validate :url, :url => true
|
||
|
||
load_classes ::Proxy::Dns::Libvirt::PluginConfiguration
|
||
load_dependency_injection_wirings ::Proxy::Dns::Libvirt::PluginConfiguration
|
Also available in: Unified diff
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.