Manage dropbear SSH server via Puppet
Dropbear is a relatively small SSH server and client. It runs on a variety of POSIX-based platforms. Dropbear is open source software, distributed under a MIT-style license. Dropbear is particularly useful for "embedded"-type Linux (or other Unix) systems, such as wireless routers.
include 'dropbear'
class { 'dropbear':
port => '443',
extra_args => '-s',
banner => '/etc/banner',
}
no_start
: boolean, 0 for start dropbear, and 1 for stop (init), (default: 0, start)port
: integer, ssh TCP port listens on (default: 22)extra_args
: string, dropbear ssh args (refs: man dropbear)banner
: string, banner file containing a message to be sent to clients before they connectrsakey
: string, RSA hostkey file (default: /etc/dropbear/dropbear_rsa_host_key)dsskey
: string, DSS hostkey file (default: /etc/dropbear/dropbear_dss_host_key)receive_window
: string, Receive window size, this is a tradeoff between memory and network performance (default: 65536)
This module has beaker-rspec tests
To run:
bundle install
bundle exec rspec spec/acceptance
# or use BEAKER_destroy=no to keep the resulting vm
BEAKER_destroy=no bundle exec rspec spec/acceptance
See CHANGELOG file.
Feel free to contribute. I'm not a big fan of centralized services like GitHub but I used it to permit easy pull-requests, so show me that's a good idea!
This module got migrated from sbadia to Vox Pupuli