On Wednesday, June 13, 2012 10:21:19 AM UTC-5, Wolf Noble wrote: > > I wonder about one other thing though, Is create_resources likely to balk > if there are values in the hash that are irrelevant for the resource type > being fed? > I don't know off-hand, but I wouldn't be at all surprised if create_resources() fails when its input contains mappings for properties that the target resource type does not actually have. If you put such additional data into your repository structure then you'll probably need to process the result to select the desired portions before feeding it to create_resources(). You might need to write a custom function for that purpose. Alternatively, you could associate data for different resource types with different hiera keys.
John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/sZuRX4_F_BYJ. 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.