Want to trigger puppet run on all nodes just after node was created

Hi, everyone.

Problem:
My goal is very simple - I want to allow people to run puppet agent on nodes. So I enable puppet run feature, installed and configured foreman-proxy (puppet) and using ssh method to access hosts. I had tested puppet_run and it working but as I see it working only on managed nodes and by default they are unmanaged.

I’m using puppet with foreman report processor and ENC script facts uploading.

So I want to know how can I get all my nodes to be managed by default. I have tried using host group (manually and with auto_host_group plugin) and setting puppet master setting there but it’s not getting inherited to host itself. I have to edit node and push “inherit” button or set puppet master manually.

Please suggest a way to trigger puppet runs on all nodes right after they become available.

Expected outcome:
I can trigger puppet run just after node appears in foreman.

Foreman and Proxy versions:
1.24.2

Foreman and Proxy plugin versions:
foreman_default_group v5

Distribution and version:
CentOS7
CentOS Linux release 7.6.1810 (Core)

Other relevant data:
Also if I delete host it doesn’t get host group filled in by plugin after node creation anew.