On Thursday, November 15, 2012 9:20:25 AM UTC-6, Patxi Gortázar wrote:
>
> Thanks, John.
>
> I think I would go through the 4th option (subclassing) as you suggested. 
> However, I don't know which are the interface classes of a module.
>
>
The interface classes of a module are whatever its documentation says they 
are.  More often than not, the docs don’t explicitly designate interface 
classes, but they should identify the classes you are expected to use -- 
those are the interface classes.  Ideally for your case, the docs would 
specifically say that a particular one of the interface classes manages the 
file in question.

*Important*: do not attempt to subclass a parameterized class.  If the 
class that would need to be subclassed is parametrized, then option 4 is a 
non-starter.


John


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/1eNoMQi9Bd8J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to