Introduce support for dependency injection in dns module
Fixes #12209: introduced basic support for di in dns module
DNS record class interface has been cleaned up with validation and type
parsing logic moved into the controller layer, resulting in separate
create and delete methods for A and PTR records.
#4 Updated by Dominic Cleal over 4 years ago
Ohad Levy wrote:
whats the usage case? could you elaborate?
#5 Updated by Dmitri Dolguikh over 4 years ago
Also used in puppet_proxy (one of the examples: https://github.com/theforeman/smart-proxy/blob/develop/modules/puppet_proxy/environment.rb) and dhcp (all providers and the main module) modules to handle dependency resolution and lifecycle (instance vs. class vars).