bstopp / puppet-aem

Puppet module for managing AEM Installations.
https://forge.puppet.com/bstopp/aem
Apache License 2.0
30 stars 30 forks source link

Puppet re-run may take ages on hosts with a grown AEM instance #124

Closed Jarodiv closed 5 years ago

Jarodiv commented 6 years ago

During its run the AEM module searches the installation folder for a already present crx-quickstart jar.

When being re-running on hosts with a grown AEM instance the crx-quickstart/repository folder can become quite huge, causing the find call that is used for the search to take ages.

Corresponding output from Puppet debug:

Debug: Executing '/bin/find /opt/aem-publish -name "cq-quickstart-*-standalone*.jar" -type f'

One solution would be to simply exclude the crx-quickstart/repository folder from the search. After all its more than unlikely to find the quickstart jar there.

bstopp commented 5 years ago

Fixed in 2.6.1