diff --git a/openssh/iptables-input.sls b/openssh/iptables-input.sls index fc03540..f7944cf 100644 --- a/openssh/iptables-input.sls +++ b/openssh/iptables-input.sls @@ -1,6 +1,6 @@ {% from "openssh/map.jinja" import openssh with context %} {% set openssh_pillar = pillar.get('openssh', {}) %} -{% set listen_port = openssh_pillar.get('listen_port', '22') %} +{% set listen_port = salt['pillar.get']('openssh:listen_port', 22) %} sshd.iptables.input: iptables.insert: