OP#561 add config params
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
# @param [String] ssh_fw_order order of firewall rule
|
# @param [String] ssh_fw_order order of firewall rule
|
||||||
# @param [String] ssh_source_range source range for firewall rule
|
# @param [String] ssh_source_range source range for firewall rule
|
||||||
# @param [Boolean] ssh_manage_config whether to manage the configuration
|
# @param [Boolean] ssh_manage_config whether to manage the configuration
|
||||||
|
# @param [String] ssh_address_family AddressFamily setting for sshd_config
|
||||||
|
# @param [String] ssh_listen_address ListenAddress setting for sshd_config
|
||||||
##############################################################################
|
##############################################################################
|
||||||
class confdroid_ssh::params (
|
class confdroid_ssh::params (
|
||||||
|
|
||||||
@@ -23,6 +25,8 @@ class confdroid_ssh::params (
|
|||||||
|
|
||||||
# main configuration
|
# main configuration
|
||||||
Boolean $ssh_manage_config = true,
|
Boolean $ssh_manage_config = true,
|
||||||
|
String $ssh_address_family = 'any',
|
||||||
|
String $ssh_listen_address = '0.0.0.0',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# default facts
|
# default facts
|
||||||
|
|||||||
@@ -5,3 +5,6 @@
|
|||||||
##### be made in the Puppet manifest parameters. #
|
##### be made in the Puppet manifest parameters. #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
Port <%= @ssh_fw_port %>
|
||||||
|
AddressFamily <%= @ssh_address_family %>
|
||||||
|
ListenAddress <%= @ssh_listen_address %>
|
||||||
Reference in New Issue
Block a user