Re: Puppet newbie: using defines

Luke Kanies
Mon, 21 May 2007 17:39:38 -0000

On May 21, 2007, at 10:27 AM, Nico De Ranter wrote:

>
> Hi folks,
>
> I''m trying to get my feet wet in puppet-land. I''ve
successfully
> installed a puppetmaster and client and managed to get them to do
> something (the sudo file-permission example as explained in the
> tutorials).

Great, glad to hear it.

> Now I''m trying to do something a bit more complex using
> defines but nothing seems to happen anymore.

I think your problem is that you''ve created a define with the same
name as a builtin type[1].  Try renaming your definition (or just
using the native type).  This is a bug, it looks like -- it should at
least warn you if that definition name is taken by a builtin type.

1 - https://reductivelabs.com/trac/puppet/wiki/TypeReference#yumrepo

  --
  We cannot really love anybody with whom we never laugh. --Agnes
Repplier
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com