gitrepo.sls 329 Bytes
Newer Older
Bach Dániel committed
1 2 3 4 5 6 7 8 9 10 11 12
include:
  - common

gitrepo_monitor-client:
  git.latest:
    - name: {{ pillar['monitor-client']['repo_name'] }}
    - rev: {{ pillar['monitor-client']['repo_revision'] }}
    - target: /home/{{ pillar['user'] }}/monitor-client
    - user: {{ pillar['user'] }}
    - group: {{ pillar['user'] }}
    - require:
      - pkg: git