diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-16 16:51:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-16 16:51:27 -0300 |
commit | 5055135b544026487c79d3cc71cfebf94c1fd994 (patch) | |
tree | 446619c88d3f49367f9afc4cd4d6e6efbb2a34a0 /manifests/subsystem/ssh_folder.pp | |
parent | 99db24c24f9dae32a573b7d33eb8ed4feb3494b4 (diff) | |
download | puppet-nodo-5055135b544026487c79d3cc71cfebf94c1fd994.tar.gz puppet-nodo-5055135b544026487c79d3cc71cfebf94c1fd994.tar.bz2 |
Defining nodo::subsystem::ssh_folder as a parametrized class
Diffstat (limited to 'manifests/subsystem/ssh_folder.pp')
-rw-r--r-- | manifests/subsystem/ssh_folder.pp | 6 |
1 files changed, 5 insertions, 1 deletions
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, |