Why does this: class mymodule { notify { "booboo": } notify { "booboo": }
provoke the error: Error while evaluating a Resource Statement, Duplicate declaration: Notify[booboo] is already declared in file xxxx That's is a simplified version of my actual use case: $mythings.each | String $x | { # for each x in list 'mythings' notify { "gonna do something with $x": } .... In plain english, for example, I may have a list of rpms and want to loop through them to ensure all are installed. What would be the correct way to do this, if not the above? -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8b3de960-9f07-403e-838b-1b44409539fd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.