Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Latest commit

 

History

History
138 lines (77 loc) · 2.3 KB

REFERENCE.md

File metadata and controls

138 lines (77 loc) · 2.3 KB

Reference

Table of Contents

Classes

  • dropbear: Install and configure dropbear using puppet.

Classes

dropbear

Install and configure dropbear using puppet.

Examples

include 'dropbear'
class {
  'dropbear':
    port            => 443,
    extra_args      => '-s',
    banner          => '/etc/banner',
}

Parameters

The following parameters are available in the dropbear class.

no_start

Data type: Optional[Enum['0', '1']]

Integer (0|1) used to prevent dropbear start.

Default value: undef

port

Data type: Variant[Stdlib::Port, Pattern[/^\d+$/]]

Integer, dropbear listen port

Default value: 22

extra_args

Data type: String

Extra argument passed to dropbear deamon (see man)

Default value: ''

banner

Data type: Optional[String[1]]

Display the contents of the file banner before user login.

Default value: undef

receive_window

Data type: Variant[Integer[1], Pattern[/^\d+$/]]

Specify the per-channel receive window buffer size. Increasing this may improve network performance at the expense of memory use. Use -h to see the default buffer size.

Default value: 65536

package_name

Data type: String[1]

Dropbear package name.

package_version

Data type: String[1]

Version of the Dropbear package

Default value: 'installed'

service_name

Data type: String[1]

Dropbear service name.

start_service

Data type: Boolean

Boolean to control whether to ensure the service is running

Default value: true

rsakey

Data type: Stdlib::Absolutepath

Use the contents of the file rsakey for the rsa host key (default: /etc/dropbear/dropbear_rsa_host_key). This file is generated with dropbearkey

dsskey

Data type: Stdlib::Absolutepath

Use the contents of the file dsskey for the DSS host key (default: /etc/dropbear/dropbear_dss_host_key). Note that some SSH implementations use the term "DSA" rather than "DSS", they mean the same thing. This file is generated with dropbearkey.

cfg_file

Data type: Stdlib::Absolutepath

Location of configuration file.

cfg_template

Data type: String

Location of configuration template.