X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssh%2Fmanifests%2Finit.pp;h=c802efe831d8b8351b4c29a8c84bb8e51f685c53;hb=056eeb7efa04117d0bd9f2a0fdb095b4c4c2bb45;hp=59fe97bd4800d8e667801766eb52ea776e231f2c;hpb=31820d59283dd40559b1b9ca621d2c8215f0415c;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp index 59fe97bd4..c802efe83 100644 --- a/modules/ssh/manifests/init.pp +++ b/modules/ssh/manifests/init.pp @@ -13,6 +13,12 @@ class ssh { require => Package["openssh-server"], notify => Exec["ssh restart"] ; + "/etc/ssh/userkeys": + ensure => directory, + owner => root, + group => root, + mode => 755, + ; "/etc/ssh/userkeys/root": content => template("ssh/authorized_keys.erb"), mode => 444,