File: options.pp

package info (click to toggle)
puppet-module-saz-ssh 13.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 564 kB
  • sloc: ruby: 1,511; sh: 10; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# @summary
#   This defined type manages ssh server options
#
# @param options
#   Options which should be set
#
# @param order
#   Orders your settings within the config file
#
define ssh::server::options (
  Hash    $options = {},
  Integer $order   = 50
) {
  concat::fragment { "options ${name}":
    target  => $ssh::server::sshd_config,
    content => template("${module_name}/options.erb"),
    order   => 100+$order,
  }
}