File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ ntp::keys_trusted: []
26
26
ntp::keys : []
27
27
ntp::leapfile : ~
28
28
ntp::logfile : ~
29
+ ntp::logfile_user : ' ntp'
29
30
ntp::logfile_mode : ' 0664'
31
+ ntp::logfile_group : ' ntp'
30
32
ntp::logconfig : ~
31
33
ntp::ntpsigndsocket : ~
32
34
ntp::maxpoll : ~
Original file line number Diff line number Diff line change 139
139
if $ntp::logfile {
140
140
file { $ntp::logfile :
141
141
ensure => file ,
142
- owner => ' ntp' ,
143
- group => ' ntp' ,
142
+ owner => $ ntp::logfile_user ,
143
+ group => $ ntp::logfile_group ,
144
144
mode => $ntp::logfile_mode ,
145
145
}
146
146
}
Original file line number Diff line number Diff line change 87
87
#
88
88
# @param logfile
89
89
# Specifies a log file for NTP to use instead of syslog. Default value: ' '.
90
-
90
+ #
91
+ # @param logfile_group
92
+ # Specifies the group for the NTP log file. Default is 'ntp'.
93
+ #
91
94
# @param logfile_mode
92
95
# Specifies the permission for the NTP log file. Default is 0664.
93
96
#
97
+ # @param logfile_user
98
+ # Specifies the user for the NTP log file. Default is 'ntp'.
99
+ #
94
100
# @param logconfig
95
101
# Specifies the logconfig for NTP to use. Default value: ' '.
96
102
#
248
254
Stdlib::Absolutepath $driftfile,
249
255
Optional[Stdlib::Absolutepath] $leapfile,
250
256
Optional[Stdlib::Absolutepath] $logfile,
257
+ Optional[Variant[String, Integer]] $logfile_group,
251
258
String $logfile_mode,
259
+ Optional[Variant[String, Integer]] $logfile_user,
252
260
Optional[String] $logconfig,
253
261
Boolean $iburst_enable,
254
262
Array[String] $keys,
You can’t perform that action at this time.
0 commit comments