2014-07-14 12:21 GMT+02:00 José Luis Ledesma <[email protected]>: > Hi, > > Shall this be a bug? Teorically a exported resource is not applied in the > managed node if you don't collect it, so it should not collide with an > "applied" resource. thoughs? > > thanks,
Hi >From [1] Docs: Language: Exported Resources " Uniqueness Every exported resource must be globally unique across every single node. If two nodes export resources with the same title or same name/namevar and you attempt to collect both, the compilation will fail. (Note: Some pre-1.0 versions of PuppetDB will not fail in this case. This is a bug.) To ensure uniqueness, every resource you export should include a substring unique to the node exporting it into its title and name/namevar. The most expedient way is to use the hostname or fqdn facts. " Have a look to this other link [2] Collecting duplicate resources in puppet [1] http://docs.puppetlabs.com/puppet/latest/reference/lang_exported.html#uniqueness [2] http://ttboj.wordpress.com/2013/06/04/collecting-duplicate-resources-in-puppet/ Hope it helps Best regards -------------------------------------------------------------------------------------- Juan Sierra Pons [email protected] Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE -------------------------------------------------------------------------------------- -- 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/CABS%3Dy9ubFT6A-n0Y-KPsGcb3yn7mGQ3acewJwLaJuPx6fY8w0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
