aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/ssh_folder.pp
blob: e61ec025717a23581bbbd67062063af8c80a5dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Manage a ssh folder
define ssh_folder(
  $home,
  $owner,
  $group,
) {
  if !defined(File["${home}/.ssh"]) {
    file { "${home}/.ssh":
      ensure  => directory,
      owner   => $owner,
      group   => $group,
      mode    => 0700,
    }
  }
}