-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Am Mo den 19. Jul 2010 um 21:34 schrieb Jeff McCune: > The name attribute is the namevar and as such must also be unique in > the catalog. > > Try this: > > @@sshkey { > "${fqdn}-dsa": > host_aliases => "${fqdn}", > key => "${sshdsakey}"; > "${fqdn}-rsa": > host_aliases => "${fqdn}", > key => "${sshrsakey}"; > } > > Sshkey <<||>> > > This will prevent duplicate resource definitions.
That was my idea too. But then it complies that there is a duplicated alias. As it seems there is no way at the moment to get both. Man has to choose between them. :-( Regards Klaus - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <kl...@ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEVAwUBTEVT55+OKpjRpO3lAQo2jwf/UcNvTebz53RTKYt6RCENyWfaMvgHgeik oO0n3Vy32Cusonft5PdGgoOpOi0AvZuXDpoOIPFeuHFfbyxEJ6JtWsfOFnrBxVNE Lc6Li1oXX++PfPzOKoIQoYrkwHm8gL5IdDz57alEiL5RVp+VoFg3CgLUigJw5Ayr 1yU5yIklV2768bg4EfMxl44OQ3qSx/uiaEBFewP7wwgsd2EonCNXme+gu4OaJIpG 6IWKF7TUJwO2TxAzaGO++duazCkn9M0FtZnueb/aiJuUz7rGqAr7zyepZ4nD89AC Zdxlrj/8CvIIxAeEsW2FKUdgipGqK+aeX7eYOQULCuOjTNFJXZD8bg== =meg+ -----END PGP SIGNATURE----- -- 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.