deploy ssh key from master to minion via salt pillars
Posted
by
user180041
on Server Fault
See other posts from Server Fault
or by user180041
Published on 2013-09-11T20:47:19Z
Indexed on
2013/10/24
3:57 UTC
Read the original article
Hit count: 459
I have two ssh keys that I'm trying to deploy to one of my minions.But I cant seem to get it to deploy.It errors out....Here is the init.sls in pillars....
/xxx/yyy/zzz/id_rsa:
file.managed:
- source: salt://private/id_rsa
/xxx/yyy/zz/id_rsa.pub:
file.managed:
- source: salt://private/id_rsa.pub
here is my init.sls states.....
ssh:
file.managed:
- name: {{pillar['private']}}
...... I must be doing something wrong (obviously)... not sure what.. .any suggestions??
© Server Fault or respective owner