OP#828 initial commit
This commit is contained in:
8
manifests/init.pp
Normal file
8
manifests/init.pp
Normal file
@@ -0,0 +1,8 @@
|
||||
## confdroid_ntp::init.pp
|
||||
# Module name: confdroid_ntp
|
||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||
# @summary Class initializes the confdroid_ntp module.
|
||||
##############################################################################
|
||||
class confdroid_ntp {
|
||||
include confdroid_ntp::params
|
||||
}
|
||||
14
manifests/main/config.pp
Normal file
14
manifests/main/config.pp
Normal file
@@ -0,0 +1,14 @@
|
||||
#### confdroid_ntp::main::config.pp
|
||||
# Module name: confdroid_ntp
|
||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||
# @summary Class manages module logic for the confdroid_ntp module
|
||||
###############################################################################
|
||||
class confdroid_ntp::main::config (
|
||||
|
||||
) inherits confdroid_ntp::params {
|
||||
# include confdroid_ntp::main::service
|
||||
|
||||
# if $ay_manage_nagios == true {
|
||||
# include confdroid_ntp::monitoring::target
|
||||
# }
|
||||
}
|
||||
9
manifests/monitoring/target.pp
Normal file
9
manifests/monitoring/target.pp
Normal file
@@ -0,0 +1,9 @@
|
||||
#### confdroid_ntp::monitoring::target.pp
|
||||
# Module name: confdroid_ntp
|
||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||
# @summary Class manages nagios monitoring for the confdroid_ntp services
|
||||
###############################################################################
|
||||
class confdroid_ntp::monitoring::target (
|
||||
|
||||
) inherits confdroid_ntp::params {
|
||||
}
|
||||
13
manifests/params.pp
Normal file
13
manifests/params.pp
Normal file
@@ -0,0 +1,13 @@
|
||||
## confdroid_ntp::params.pp
|
||||
# Module name: confdroid_ntp
|
||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||
# @summary Class contains all parameters for the confdroid_ntp module.
|
||||
##############################################################################
|
||||
class confdroid_ntp::params (
|
||||
) {
|
||||
# defaults
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
# includes must be last
|
||||
include confdroid_ntp::main::config
|
||||
}
|
||||
Reference in New Issue
Block a user