Re: Puppet newbie: using defines

Nico De Ranter
Tue, 22 May 2007 07:25:58 -0000

On Mon, 2007-05-21 at 13:39 -0400, Luke Kanies wrote:
> On May 21, 2007, at 10:27 AM, Nico De Ranter wrote:

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

Doh, yep that''s it. Thanks!

Nico
--
Nico De Ranter
Senior System Administrator
Sony Service Center (NSCE)
The Corporate Village, Da Vincilaan 7-D1
B-1935 Zaventem, Belgium
Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22