# Salt Data Service

## Setting up the master
```ext_pillar:
   - http_json:
       url: https://gateway.${environment}.netfoundry.io/sds/v1/data/${networkId}/%s
       username: ${networkId}
       password: ${sdsPassword}
```

## Setting up a minion
The minion id in the /etc/salt/minion needs to be set to the UUID of the host in the MOP db

`id: ${uuid}`

ext_pillar:
   - http_json:
       url: https://gateway.production.netfoundry.io/sds/v1/data/A6D0BBCB-5767-41DD-ADB9-8FD10461ADBE/%s
       username: A6D0BBCB-5767-41DD-ADB9-8FD10461ADBE
       password: 42389
