On Thursday, July 31, 2014 2:43:42 AM UTC-5, Jose Luis Ledesma wrote:
>
> Hi,
>
>   this doesn't work. You cannot have two resources with the same name:
>
>  Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Duplicate declaration: Host[XXXX] is already declared in file 
> XXXXX/init.pp:17; cannot redeclare at XXXX/host.pp:5 on node XXXXX
>
>

Yes, although $title does not have to be the same as $name, Puppet enforces 
that (Type, $title) and (Type, $name) are *both* unique (with respect to 
the same collection, even).


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d7786d46-76ce-4d89-95ee-0c1237b44e24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to