Skip to content

Instantly share code, notes, and snippets.

@jcockhren

jcockhren/pillar Secret

Last active December 30, 2015 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcockhren/339ea523ed9aa63ee8d0 to your computer and use it in GitHub Desktop.
Save jcockhren/339ea523ed9aa63ee8d0 to your computer and use it in GitHub Desktop.
SSH salt
users:
user.present:
- name: specialuser
- shell: /bin/zsh
- home: /home/specialuser
- groups:
- sudo
sshkeys:
ssh_auth:
- present
- user: specialuser
- names:
{% for key in pillar['ssh_keys'] %}
- {{key}}
{% endfor %}
ssh_keys:
- lkwmeflkmwelfkmwelkfmwlekfmlkwefmlwekfmlwekfm
- wknefkjnwr;mepr'ogkq'3mg'ormg'poermg;kemrg;lkmr;lgkmr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment