Defined Type: sshkeymanager::key

Defined in:
manifests/key.pp

Overview

Parameters:

  • keys (Any) (defaults to: [])


3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/key.pp', line 3

define sshkeymanager::key(
  $keys = [],
) {

  file { "${sshkeymanager::directory}/${name}":
    ensure  => present,
    owner   => 'root',
    group   => 'root',
    mode    => '0640',
    content => join($keys, "\n"),
  }

}