Skip to content

Instantly share code, notes, and snippets.

@trane
trane / endpoint.scala
Created October 23, 2015 18:30 — forked from maheshkelkar/endpoint.scala
Adding endpoint concept to keymaster
/******* Option-1: **********/
/**
* Keymaster Config:
*
* "keymaster" {
* "upstreamEndpoints" : {
* identityProvider" : {
* "hosts" : "localhost:8081", // CSV of servers
* "path" : "/identityProvider" // use this path upstream
[ david@samwise ] $ cat salt.sls
/etc/salt/minion:
file:
- managed
- owner: root
- group: root
- mode: 444
- source: salt://salt/files/salt-minion.config
- template: jinja
- context: {
[ david@samwise ] $ cat salt.sls
/etc/salt/minion:
file:
- managed
- owner: root
- group: root
- mode: 444
- source: salt://salt/files/salt-minion.config
- template: jinja
- context: {