The way Puppet is built today, you can't trigger the same exec resource multiple times in a single run.
However, the exec resource type is kind of special: the value of the namevar ("command") doesn't have to be globally unique; only the title has to be unique. Basically, to deal with cases like yours. So in your case, since you know how many times rvm has to be executed, you can actually make three exec resources (with different titles) that use the same command value. They can all have different behavior to account for their needs (refreshonly => true on the last one, maybe, or whatever). -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.