2008/12/28 Ben Beuchler <ins...@gmail.com> > > I was under the impression that Exec expressly allows duplicate > definitions. What am I misunderstanding? Is there a better way to > structure this definition? >
Ah, nope. No resource title can be duplicated, exec isn't an exception. Is there somewhere you read that or saw it in an example? Anyhow, doesn't really matter. Try something like: define module($ensure) { ... exec { "a2enmod-$name": command => '/bin/whatever', .... } ... } .r' p.s. that alert at the end will have the same proble, tack $name in there too. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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 -~----------~----~----~----~------~----~------~--~---