On 11-02-15 05:25 PM, Nan Liu wrote:
> You can also create class level dependency so it is less tightly
> coupled to a specific resource which may benefit you in the long run
> should you need to refactor dns_config class.
>
> class random_app {
> require dns_config
> ...
> }
hmm this actually binds the OP's 'random_app' module to the 'dns_config'
one while Daniel's suggestion can find the File resource even though it
is moved from one module to another.
--
Gabriel Filion
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.