tacitknowledge / aem-cookbook

Chef cookbook for Adobe AEM
79 stars 64 forks source link

Checking installed packages #6

Open cpilsworth opened 10 years ago

cpilsworth commented 10 years ago

I noticed your comment here: https://github.com/tacitknowledge/aem-cookbook/blob/master/providers/package.rb#L76

You could query the installed packages using the aem querybuilder. Something like...

http://localhost:4502/bin/querybuilder.json?nodename=*.zip&orderby=@jcr:content%2Fjcr:lastModified&orderby.sort=desc&p.limit=100&path=%2Fetc%2Fpackages&type=nt:file

That might need a bit of filtering to exclude snapshots and give just the information you needed.

pdunnavant commented 10 years ago

@cpilsworth Thanks! I'll try to look into that the next time I get a chance to work on this cookbook.