Commit bab96a63 authored by varac's avatar varac

sshkeys depend on /root/.ssh

parent ea228f22
......@@ -9,6 +9,13 @@ define backupninja::generate_sshkey(
$public_type = $public[0]
$public_key = $public[1]
file { '/root/.ssh':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0600';
}
# install ssh keypair on client
file { "/root/.ssh/$ssh_key_name":
content => $ssh_keys[0],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment