deploy ssh key from master to minion via salt pillars
- by user180041
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??