agentgit.sls 270 Bytes
Newer Older
Guba Sándor committed
1 2 3 4 5 6 7 8 9 10 11
include:
  - common

agentgit:
  git.latest:
    - name: {{ pillar['agent']['repo_name']  }} 
    - rev: {{ pillar['agent']['repo_revision']  }}
    - target: /home/{{ pillar['user'] }}/agent/agent-linux
    - runas: {{ pillar['user'] }}
    - require:
      - pkg: git