summaryrefslogtreecommitdiff
path: root/manifests/master.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2016-06-07 21:59:33 +0200
committermh <mh@immerda.ch>2016-06-07 22:28:48 +0200
commitbbedb788a7951e2f69c1c2815a5c3c669ff02ae6 (patch)
treea857ea3da2063501abe90ad1fc80bfd281bff8a6 /manifests/master.pp
parent70b87a890319b262641503e78495b83df24f20ea (diff)
keep trocla object around - addresses #18
Per puppet function call we now created a new Trocla object. This is a) a very naive approach and b) obviously can lead to a lot of inefficiency as we for example need to build up trocla each time again. Also this means that we are running into problems like opening a connection to a database system each time a trocla lookup is done (and we never close the connection :-/). The proper way to solve this is to make sure we don't create too many trocla objects. With this change, we should now create once a global trocla object PER puppet(-master/-server) process and keep it around for the life time of such a process.
Diffstat (limited to 'manifests/master.pp')
0 files changed, 0 insertions, 0 deletions