aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/ssh_config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/defines/ssh_config.pp')
-rw-r--r--manifests/defines/ssh_config.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/defines/ssh_config.pp b/manifests/defines/ssh_config.pp
index 79d9635..d071822 100644
--- a/manifests/defines/ssh_config.pp
+++ b/manifests/defines/ssh_config.pp
@@ -1,10 +1,15 @@
# Manage ssh config for a particular user
define ssh_config(
$owner,
+ $group,
$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/config":
ensure => present,