From 5055135b544026487c79d3cc71cfebf94c1fd994 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 16 Mar 2014 16:51:27 -0300 Subject: Defining nodo::subsystem::ssh_folder as a parametrized class --- manifests/subsystem/ssh_folder.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'manifests/subsystem') diff --git a/manifests/subsystem/ssh_folder.pp b/manifests/subsystem/ssh_folder.pp index 1c6ee49..89e91a6 100644 --- a/manifests/subsystem/ssh_folder.pp +++ b/manifests/subsystem/ssh_folder.pp @@ -1,5 +1,9 @@ # Base class -class nodo::subsystem::ssh_folder { +class nodo::subsystem::ssh_folder( + $home, + $owner, + $group, +) { if !defined(File["${home}/.ssh"]) { file { "${home}/.ssh": ensure => directory, -- cgit v1.2.3