aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/ssh_create_key.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/defines/ssh_create_key.pp')
-rw-r--r--manifests/defines/ssh_create_key.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/defines/ssh_create_key.pp b/manifests/defines/ssh_create_key.pp
index e380b18..ec4bb67 100644
--- a/manifests/defines/ssh_create_key.pp
+++ b/manifests/defines/ssh_create_key.pp
@@ -1,4 +1,9 @@
-define ssh_create_key($owner, $group, $keyfile = 'id_rsa', $home = '/home/$owner') {
+define ssh_create_key(
+ $owner,
+ $group,
+ $keyfile = 'id_rsa',
+ $home = '/home/$owner'
+) {
include nodo::subsystem::ssh_folder
exec { "ssh-keygen-${owner}":