Skip to content

deploy should update authorized_keys

authorized_keys is only set right now with 'leap node init'

should also be set via puppet.

currently, included in every hiera as the full file contents. i would like to change this to a file path.

change:

  "ssh": {
    "authorized_keys": "= file :authorized_keys",
    "known_hosts": "=> known_hosts_file",
    "port": 22
  },

TO:

  "ssh": {
    "authorized_keys": "= file_path :authorized_keys",
    "known_hosts": "=> known_hosts_file",
    "port": 22
  },

this should result in hiera.yaml:

  authorized_keys: /etc/leap/files/ssh/authorized_keys

(from redmine: created on 2013-01-15, closed on 2013-07-03, duplicates #3760 (closed))