Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vncviewer:
- file.managed:
- - name: {{ pillar['sv_home'] }}/.vnc/passwd
- - source: salt://apps/vncviewer/passwd
- - user: {{ pillar['sv_user'] }}
- - group: {{ pillar['sv_group'] }}
- - mode: 600
- - dir_mode: 700
- - makedirs: True
- - replace: False
- pkg.installed:
- - pkgs:
- {% if grains['os'] == 'CentOS' %}
- - tigervnc
- {% endif %}
- {% if grains['os'] == 'CentOS' %}
- - vncsnapshot.i686
- {% elif grains['os'] == 'MacOS' %}
- - vncsnapshot
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement