{% set file_server = salt['pillar.get']('smb_server') %} install_pam_mount_cifsutils: pkg.installed: - pkgs: - libpam-mount - cifs-utils copy_pam_mount_xml: file.managed: - name: /etc/security/pam_mount.conf.xml - replace: True - contents: |