are we having problem with defines in puppet 3.0.1/3.0.2? the more and more we use defines in our repo, the more lagish puppetmaster becomes.
today i've made some synthetic checks with our lb setup, which consists of 121 defines, each of them wraps around 4 another defines (nagios, haproxy, stunnel configs). results are catastrophic. even more, we started to use ruby 1.9.3, as 1.8.7 is becoming obsolete and it's adding a more lag. i've reduced define numbers and observed that compile time reduces significantly each time. additionally i've inlined code from each define that we source from our lb define, and it also speeds up compile a lot. i've compiled with: time /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/ruby /usr/bin/puppet master --compile lb2 and /usr/bin/ruby /usr/bin/puppet master --compile lb2 actual times are here: https://github.com/asquelt/puppet-defines-wtf/blob/master/BENCHMARK manifest is here: https://github.com/asquelt/puppet-defines-wtf/blob/master/manifests/projects/dc1-lb.pp catalogs are also in repo: https://github.com/asquelt/puppet-defines-wtf you can see that i've decorated everything with double colon to make sure this is not related to #17335 is it just me? do you have any workarounds? should i file a bug? -- 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/-/yJhfP5lqsqYJ. 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.