diff --git a/plugins/foreman_salt/13.0/index.md b/plugins/foreman_salt/13.0/index.md index 2eeb3e725b..ce94674d8c 100644 --- a/plugins/foreman_salt/13.0/index.md +++ b/plugins/foreman_salt/13.0/index.md @@ -175,9 +175,12 @@ In `/etc/salt/foreman.yaml`, make the following changes: :timeout: 10 :salt: /usr/bin/salt :upload_grains: true + :filecache: false If your Smart Proxy uses SSL, then the certs and key configured in the YAML should be the same ones it uses to talk to Foreman. If you're already using Puppet in Foreman, consult `/etc/puppet/foreman.yaml` or `/etc/puppet/node.rb` for those settings. +The filecache option makes the ENC script (foreman-node) use the filesystem based cache, by default located in /var/cache/salt/master/minions. In case your salt-master is configured to use a different directory for the cache you can add the :cachedir: option pointing to the directory configured in your salt-master configuration. In order to use filecache, the msgpack rubygem needs to be present. + ### 2.1.3 Salt API Configuration To support state and environment importing, configure salt-api as per the [Salt documentation](https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html). The user for the Smart Proxy requires a minimum of the `@runner` permission. An example for CherryPy is below, using the Puppet certificates for SSL.