|
77 | 77 | '3.debian.pool.ntp.org',
|
78 | 78 | ]
|
79 | 79 | $maxpoll = undef
|
| 80 | + $service_provider= undef |
80 | 81 | }
|
81 | 82 | 'Debian': {
|
82 | 83 | $config = $default_config
|
|
98 | 99 | '3.debian.pool.ntp.org',
|
99 | 100 | ]
|
100 | 101 | $maxpoll = undef
|
| 102 | + $service_provider= undef |
101 | 103 | }
|
102 | 104 | 'RedHat': {
|
103 | 105 | $config = $default_config
|
|
106 | 108 | $package_name = $default_package_name
|
107 | 109 | $service_name = $default_service_name
|
108 | 110 | $maxpoll = undef
|
| 111 | + $service_provider= undef |
109 | 112 |
|
110 | 113 | case $::operatingsystem {
|
111 | 114 | 'Fedora': {
|
|
156 | 159 | $service_name = 'ntpd'
|
157 | 160 | $keys_file = '/etc/ntp.keys'
|
158 | 161 | $package_name = $default_package_name
|
| 162 | + #Puppet 3 does not recognise systemd as service provider on SLES 12. |
| 163 | + $service_provider = 'systemd' |
159 | 164 | }
|
160 | 165 | default: {
|
161 | 166 | fail("The ${module_name} module is not supported on an ${::operatingsystem} ${::operatingsystemmajrelease} distribution.")
|
|
198 | 203 | '3.opensuse.pool.ntp.org',
|
199 | 204 | ]
|
200 | 205 | $maxpoll = undef
|
| 206 | + $service_provider= undef |
201 | 207 | }
|
202 | 208 | 'FreeBSD': {
|
203 | 209 | $config = $default_config
|
|
219 | 225 | '3.freebsd.pool.ntp.org',
|
220 | 226 | ]
|
221 | 227 | $maxpoll = 9
|
| 228 | + $service_provider= undef |
222 | 229 | }
|
223 | 230 | 'Archlinux': {
|
224 | 231 | $config = $default_config
|
|
240 | 247 | '3.arch.pool.ntp.org',
|
241 | 248 | ]
|
242 | 249 | $maxpoll = undef
|
| 250 | + $service_provider= undef |
243 | 251 | }
|
244 | 252 | 'Solaris': {
|
245 | 253 | $config = '/etc/inet/ntp.conf'
|
|
272 | 280 | '3.pool.ntp.org',
|
273 | 281 | ]
|
274 | 282 | $maxpoll = undef
|
| 283 | + $service_provider= undef |
275 | 284 | }
|
276 | 285 | # Gentoo was added as its own $::osfamily in Facter 1.7.0
|
277 | 286 | 'Gentoo': {
|
|
294 | 303 | '3.gentoo.pool.ntp.org',
|
295 | 304 | ]
|
296 | 305 | $maxpoll = undef
|
| 306 | + $service_provider= undef |
297 | 307 | }
|
298 | 308 | 'Linux': {
|
299 | 309 | # Account for distributions that don't have $::osfamily specific settings.
|
|
319 | 329 | '3.gentoo.pool.ntp.org',
|
320 | 330 | ]
|
321 | 331 | $maxpoll = undef
|
| 332 | + $service_provider= undef |
322 | 333 | }
|
323 | 334 | 'Amazon': {
|
324 | 335 | $config = $default_config
|
|
339 | 350 | '2.centos.pool.ntp.org',
|
340 | 351 | ]
|
341 | 352 | $maxpoll = undef
|
| 353 | + $service_provider= undef |
342 | 354 | $disable_monitor = false
|
343 | 355 | }
|
344 | 356 | default: {
|
|
0 commit comments