aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/ssh_known_hosts.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/defines/ssh_known_hosts.pp')
-rw-r--r--manifests/defines/ssh_known_hosts.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/defines/ssh_known_hosts.pp b/manifests/defines/ssh_known_hosts.pp
index 84f25b2..dad17ac 100644
--- a/manifests/defines/ssh_known_hosts.pp
+++ b/manifests/defines/ssh_known_hosts.pp
@@ -4,7 +4,11 @@ define ssh_known_host(
$home = '/home/$owner',
$ssh_localhost_auth = false
) {
- include nodo::subsystem::ssh_folder
+ class { "nodo::subsystem::ssh_folder":
+ home => $home,
+ owner => $owner,
+ group => $group,
+ }
file { "${home}/.ssh/known_hosts":
ensure => present,