Upgrade agents through Puppet

Good morning,

We are struggling with a proper process around agent upgrades, but our production team is afraid that following the Rapid7 recommended guidelines will interrupt production.

Upgrading the agent through the “new” API is working but it seems to be limited to 50 - 100 assets per time. This is fine for a small environment, but not for us.

The best way, in which we can exercise the most control, is upgrading through puppet. The question is if someone else has experience with this and how did you do it?

As far as I can tell there are 2 option. Reinstallation with the latest bash script OR Uninstallation (and ensure the folder structure remains) and after reinstalling.