Skip to content

Instantly share code, notes, and snippets.

@SEJeff
Created May 11, 2012 21:54
Show Gist options
  • Save SEJeff/2662617 to your computer and use it in GitHub Desktop.
Save SEJeff/2662617 to your computer and use it in GitHub Desktop.
states + context + templates from @herlo
/home/kojiadmin/.koji/config:
file.managed:
- source: salt://koji/files/config
- user: kojiadmin
- group: kojiadmin
- mode: 644
- makedirs: true
- template: jinja
- context:
kojiweb_url: "http://koji2.egavas.org/koji/"
kojihub_url: "http://kojihub2.egavas.org/kojihub"
kojipkg_url: "http://kojihub2.egavas.org/mnt/koji/packages"
- require:
- user: kojiadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment