{%- set interface = salt['pillar.get']('sensor:interface', 'bond0') %}
{%- set diskfreepercentage = salt['pillar.get']('steno:diskfreepercentage', 10) %}

{
  "Threads": [
    { "PacketsDirectory": "/nsm/pcap"
    , "IndexDirectory": "/nsm/pcapindex"
    , "MaxDirectoryFiles": 30000
    , "DiskFreePercentage": {{ diskfreepercentage }}
    }
  ]
  , "StenotypePath": "/usr/bin/stenotype"
  , "Interface": "{{ interface }}"
  , "Port": 1234
  , "Host": "127.0.0.1"
  , "Flags": ["-v", "--uid=stenographer", "--gid=stenographer"{{ BPF_COMPILED }}]
  , "CertPath": "/etc/stenographer/certs"
}