aboutsummaryrefslogtreecommitdiff
path: root/manifests/sshserverdanger.pp
blob: 7ae6970c12912a5fe567a44c94473f7bf1ea48a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
# use this to authenticate with monkeysphere on ssh
# you should not manage the sshd config as a whole
# or at least put there the same key.
class monkeysphere::sshserverdanger {
  include monkeysphere::sshserver
  augeas{'sshd_config':
    context => '/files/etc/ssh/sshd_config',
    changes => [ 'set AuthorizedKeysFile /var/lib/monkeysphere/authorized_keys/%u' ],
    notify  => Service['ssh'],
  }
}