On 2014-16-05 21:35, Alessandro Franceschi wrote:
Andy, did this on a vagrant box with eyaml and file backends. The hierarchy has 7 levels.
Debug: PROFILE [apply] 2.3.2 Called hiera: took 0.0156 seconds
If types on average have 10 parameters/properties, and you have 200 of them, that means the overhead is something like 30 seconds for this hierarchy. (Ballpark figure obviously) since it depends on where in the hierarchy they are, and if they have values or not set in the manifests.
Out of curiosity, why not use the Puppet Resource Default mechanism and only lookup in hiera what you actually need and set those values as defaults? Is it too limited for what you want to do? If so how?
- henrik -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/ll5q5d%24kqo%241%40ger.gmane.org. For more options, visit https://groups.google.com/d/optout.