I am trying to install automox agent automatically using Puppet. Issue is I have no way to check if agent is registered properly on automox, so every time puppet agent is starting deregistration and registration again. I tried to use agent to show me a group that node belongs, but there is no way to do it. I looked at API doc but I do not see a way to pull to which group node belongs.
Is there any way to check from node itself if agent is already registered or not?