Files
confdroid_ntp/manifests/params.pp

29 lines
749 B
ObjectPascal
Raw Normal View History

2026-10-01 13:30:42 +02:00
## confdroid_ntp::params.pp
# Module name: confdroid_ntp
# Author: 12ww1160 (12ww1160@confdroid.com)
# @summary Class contains all parameters for the confdroid_ntp module.
# @param [Array] cy_reqpackages List of required packages to install
# for the confdroid_ntp module.
# @param [String] cy_pkg_ensure Ensure state of the required packages.
2026-10-01 13:30:42 +02:00
##############################################################################
class confdroid_ntp::params (
# installation
Array $cy_reqpackages = ['chrony'],
String $cy_pkg_ensure = 'present',
2026-10-01 13:30:42 +02:00
) {
# defaults
$fqdn = $facts['networking']['fqdn']
2026-10-01 14:14:07 +02:00
# dirs
# files
# service
$cy_service_name = 'chronyd'
2026-10-01 13:30:42 +02:00
# includes must be last
include confdroid_ntp::main::config
}