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/defines/ssh_local_key.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'manifests/defines/ssh_local_key.pp') diff --git a/manifests/defines/ssh_local_key.pp b/manifests/defines/ssh_local_key.pp index be6ccd8..99d8361 100644 --- a/manifests/defines/ssh_local_key.pp +++ b/manifests/defines/ssh_local_key.pp @@ -7,7 +7,11 @@ define ssh_local_key( $dest = 'id_rsa', $ensure = 'present', ) { - include nodo::subsystem::ssh_folder + class { "nodo::subsystem::ssh_folder": + home => $home, + owner => $owner, + group => $group, + } file { "${home}/.ssh/${dest}": ensure => $ensure, -- cgit v1.2.3