Skip to content

Instantly share code, notes, and snippets.

@caseydentinger
Created January 22, 2015 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caseydentinger/c43dcabdfcdd1e479ba5 to your computer and use it in GitHub Desktop.
Save caseydentinger/c43dcabdfcdd1e479ba5 to your computer and use it in GitHub Desktop.
app:
git.latest:
- rev: {{ grains.app_revision | default ("master") }}
- name: git@github.com:sparkfun/app.git
- target: {{ pillar.app.document_root }}
- identity: /home/deploy/.ssh/id_rsa
{{ pillar.app.document_root }}/configuration/{{ config }}.rc.php:
file.symlink:
- require:
- git.latest: app
- target: {{ pillar.app.document_root }}/configuration/{{ grains.environment }}_{{ config }}.rc.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment