Skip to content

Instantly share code, notes, and snippets.

@garrickp
Last active August 29, 2015 14:22
Show Gist options
  • Save garrickp/391d708252ab0a67b1a2 to your computer and use it in GitHub Desktop.
Save garrickp/391d708252ab0a67b1a2 to your computer and use it in GitHub Desktop.
htpasswd from state.show_highstate
vagrant@docker-vagrant:~$ sudo salt-call --local --out=json state.show_highstate
{
"local": {
[...]
"htpasswd.user_exists-348443333440258948": {
"htpasswd": [
{
"htpasswd_file": "/etc/nginx/docker-registry.htpasswd"
},
{
"name": "deploy-stage"
},
{
"password": "test"
},
{
"options": "d"
},
"user_exists",
{
"order": 10072
}
],
"__sls__": "registry",
"__env__": "base"
},
[...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment