2026-04-05 14:39:09 +02:00
|
|
|
## confdroid_ssh::main::service.pp
|
|
|
|
|
# Module name: confdroid_ssh
|
|
|
|
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
2025-04-22 15:58:46 +02:00
|
|
|
# @summary Class manages service settings
|
|
|
|
|
##############################################################################
|
2026-04-05 14:39:09 +02:00
|
|
|
class confdroid_ssh::main::service (
|
|
|
|
|
) inherits confdroid_ssh::params {
|
|
|
|
|
require confdroid_ssh::main::files
|
2025-04-22 15:58:46 +02:00
|
|
|
|
|
|
|
|
service { $sshd_service:
|
|
|
|
|
ensure => running,
|
|
|
|
|
hasstatus => true,
|
|
|
|
|
hasrestart => true,
|
|
|
|
|
enable => true,
|
|
|
|
|
}
|
|
|
|
|
}
|