Skip to content

Instantly share code, notes, and snippets.

@zsoltf
Last active October 28, 2016 05:33
Show Gist options
  • Save zsoltf/9aaf3382e2e2d633ad4a6e9ae9472697 to your computer and use it in GitHub Desktop.
Save zsoltf/9aaf3382e2e2d633ad4a6e9ae9472697 to your computer and use it in GitHub Desktop.
Salt Minions as Pillar
ext_pillar:
- cmd_yaml: /srv/pillar/keys.sh
#!/bin/bash
salt-key | sed '/:$/! s/^/ - /g'
salt-call pillar.item "Accepted Keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment