Skip to content

Instantly share code, notes, and snippets.

@teepark
Created October 13, 2014 18:42
Show Gist options
  • Save teepark/e0d7d61c86d1a7378df0 to your computer and use it in GitHub Desktop.
Save teepark/e0d7d61c86d1a7378df0 to your computer and use it in GitHub Desktop.
vagrant@vagrant-ubuntu-trusty-64:~$ grep -A2 pillar /etc/salt/minion
# The Salt pillar is searched for locally if file_client is set to local. If
# this is the case, and pillar data is defined, then the pillar_roots need to
# also be configured on the minion:
pillar_roots:
base:
- /srv/pillar
###### Security settings #####
vagrant@vagrant-ubuntu-trusty-64:~$ cat /srv/pillar/top.sls
base:
'*':
- gitolite
vagrant@vagrant-ubuntu-trusty-64:~$ cat /srv/pillar/gitolite.sls
gitolite:
admin_pubkey: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDf/thtXreVuTmGtFH/7Q5/5KxeRixtKqmuYs10CKSSYXCyMuU9yIDCDmGeNiywjhQxFKUF2khkpZm7A0oU16V9pvpSiOBXfx7SxwkEiw6qF5jnasrKITRpiMxOiVnlZZ5lwPoM7QXeYZMApDkK6h3XVYXZ3QuJ5eZ/QQHU6MViNfXWFzO4VbOxgqWU0+tFnivVG4U8LLkEtgUOqH5CsqacUvC3ivSid64jqD+nWlQEKewzF+iBezpVtsTOva1LDfupzVLBo+0TkvsXMLfw1AQ/BqsYPDcdZwAqc6MqQUgfmmy07yQQEfzrr7xX1kfH9JjsMCet/E8nuLZ4WuES0/X1 travis@spaceghost
vagrant@vagrant-ubuntu-trusty-64:~$ sudo salt-call pillar.get gitolite
local:
vagrant@vagrant-ubuntu-trusty-64:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment