I am aware of this documentation, but it didn't work for me. I could "convert" my perl scripts (well, actually it is your perl scripts for rhel monitoring) so they run in APMIA if I manually copy them to extensions/deploy.
I can upload this bundle to ACC as long as I leave specificationVersion 1. When I add this to an infrastructure agent, nothing happens - the scripts are nowhere in the agent package.
When I change bundle.properties to use "module" property names (i.e. the ones with an additional name component like "introscope.epagent.stateless.EpaSamples.names") those properties are merged into IntroscopeAgent.profile, but again nothing happens, no scripts in my package when I add this bundle.
When I change it to specificationVersion 2 ACC complains that the directory structure is invalid (just metadata, lib, ... are allowed).
Any hint what I am doing wrong? Or do you have a sample for a ACC bundle for APMIA with scripts I can check my bundle against?