Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions plugins/foreman_salt/13.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down