Issue #1858 has been updated by Andrew Parker. Status changed from Closed to Needs Decision Assignee changed from Luke Kanies to eric sorenson
Re-opening this since it was close assuming that some other work would make this work. That does not appear to have happened and there have been other requests for this functionality, which had been in "Needs Decision". ---------------------------------------- Feature #1858: Add resources based on a Hash https://projects.puppetlabs.com/issues/1858#change-94668 * Author: David Escala * Status: Needs Decision * Priority: Normal * Assignee: eric sorenson * Category: newfeature * Target version: * Affected Puppet version: 0.24.7 * Keywords: * Branch: ---------------------------------------- Create resources from a Hash, in fact the syntax for a resource looks like a Ruby Hash already. The idea is to use it in conjuntion with external_nodes or with functions which return hashes. I'll explain it with an en example. With this external_nodes yaml <pre> parameters: symlinks: /tmp/one: ensure: target1 /tmp/two: ensure: target2 classes: - foo_class </pre> and a this manifest: <pre> file {$symlinks:} </pre> Puppet should create two file resources /tmp/one and /tmp/two. This feature allows the creation of simple resources, like a list of users or cron jobs, outside puppet. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
