On Tue, Jan 11, 2011 at 07:07:58AM -0800, jcbollinger wrote:
> 
> 
> On Jan 10, 10:53 pm, Robin Lee Powell
> <rlpow...@digitalkingdom.org> wrote:
> > Huh?  You can write a Type in Puppet?  How?  I'm only aware of
> > classes and defines, neither of which are that.
> 
> Yes, you can, and you can distribute them to clients via Puppet
> itself.  See http://docs.puppetlabs.com/#extending-puppet, and
> especially http://docs.puppetlabs.com/guides/custom_types.html.

That's not in the Puppet *language*, that's in Ruby.  It was "Puppet
Types written in the Puppet language" that I was expressing surprise
at.  There are defines, but that's not really the same thing.

Again: I don't see anybody distributing custom *resource types*, I
see people distributing custom *modules* and defines.  Since the
docs at http://docs.puppetlabs.com/references/latest/type.html#exec
and http://docs.puppetlabs.com/references/latest/type.html#file both
say that actual resource types should be use wherever possible.  I
would therefore expect there to either be a bunch of new types added
to Puppet, or a well-known repository of user-created Puppet types,
but there are neither of these things AFAICT.

Hence, I'm confused.  Philosophically speaking, at least.

-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 puppet-us...@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