Which plugins are activated?

Hi all,

how can I check on command line which plugins are activated?
For example I can enable/no-enable in foreman-installer, how can I see all which are enabled?

I use foreman with puppet, is there a “must” plugins which I have to enable it?

thanks in advance

Best Regards

Not really command line but the current settings used by foreman-installer for the current scenario should be in the answers file in /etc/foreman-installer/scenarios.d, e.g. /etc/foreman-installer/scenarios.d/katello-answers.yaml if you have a katello server.

1 Like

thank you for your answer @gvde in my case it was foreman-answers.yaml bevause I use it with Puppet.

Can’t you just visit the about page for a plugin listing?

1 Like

If you insist on CLI, this should do the trick :slight_smile:

curl https://foreman.example.com/api/plugins | jq

you may need to add user credentials to the url for base auth. Not sure if we have hammer CLI command for this API.


Yes you are right, it listed there too :slight_smile:

That’s good idea with curl, I’ll test it out

Thank you so much

As you said I add the user credentials and it works:

 curl -sS -k -u "USERNAME:PASSWORD" https://foreman.example.com/api/plugins | jq