On Tue, Jan 11, 2011 at 10:41:13AM -0800, Daniel Pittman wrote:
> The other thing I keep in mind is that using a 'define' that wraps
> some file and exec operations *is* keeping with the spirit of that
> statement, if not the letter: sure, it defines the type in the
> DSL, but it means that your nodes are referring to high level
> types and concepts, not low level implementation details.
> 
> For example, you could rewrite your 'define apache::site' into a
> Ruby type/provider pair and *nothing* would have to change for
> users of it – the fact that it happens to be implemented one way
> or the other is encapsulated.

I didn't realize it was that clean, actually.  Thanks.

-Robin

-- 
http://singinst.org/ :  Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which "this parrot
is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/

-- 
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.

Reply via email to