Problem: I have no reports from my Minion.
And also Foreman doesn’t add the minion to Hosts by itself as soon as the key is accepted.
Foreman and Proxy versions:
I’m using Salt Master - 2018.3.2 version
Salt Minion - 2018.3.2
Foreman-installer - 1.17.1-1
Salt API - 2018.3.2
CherryPy as a REST API for Salt.
I can accept/delete the key from the Foreman interface. Here I don’ have the host of Minion automatically added… If I create it by myself - I can run “Run Salt” command to apply the states.
I think that the problem is in the certificates. I am a little bit confused, which certificate where I need to put in config files.
I have one machine with Foreman and Salt Master – 10.11.49.117, dns: cosmoforeman.cosmo-foreman.com
Another is Salt minion
I have generated the TLS key as it is mentioned there: https://salt-api.readthedocs.io/en/latest/ref/netapis/all/saltapi.netapi.rest_cherrypy.html#a-rest-api-for-salt
So, in /etc/salt/master I have:
In /etc/foreman-proxy/settings.d/salt.yml :
Do you see the problem?
Could it be because I am using Salt 2018.3.2 version?
Thank you in advance!