Skip to content

Instantly share code, notes, and snippets.

@SunPowered
Last active September 8, 2015 15:34
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 SunPowered/ef4780f79c011b7682c0 to your computer and use it in GitHub Desktop.
Save SunPowered/ef4780f79c011b7682c0 to your computer and use it in GitHub Desktop.
{{ key }}
/home/sunpowered/.ssh/id_rsa.pub:
file.managed:
- source: salt://common/key
- template: jinja
- user: sunpowered
- group: sunpowered
- file_mode: 644
- context:
key: {{ pillar.get('sunpowered:ssh_key_pub') }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment