perforce-server: pkg.installed: [] cmd.run: - name: /opt/perforce/sbin/configure-perforce-server.sh default -p 1666 -u perforce -P perforce1234 --unicode -n - unless: /usr/bin/p4dctl list -t p4d |grep port=1666