File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,13 @@ server <%= server %>
35
35
#manycastserver 239.255.254.254 # manycast server
36
36
#manycastclient 239.255.254.254 key 42 # manycast client
37
37
38
+ <% if @is_virtual == "false" -%>
38
39
# Undisciplined Local Clock. This is a fake driver intended for backup
39
40
# and when no outside source of synchronized time is available.
40
41
server 127.127.1.0 # local clock
41
42
fudge 127.127.1.0 stratum 10
42
43
44
+ <% end -%>
43
45
# Drift file. Put this in a directory which the daemon can write to.
44
46
# No symbolic links allowed, either, since the daemon updates the file
45
47
# by creating a temporary in the same directory and then rename()'ing
Original file line number Diff line number Diff line change 29
29
##
30
30
# server 127.127.8.0 mode 5 prefer
31
31
32
+ <% if @is_virtual == "false" -%>
32
33
##
33
34
## Undisciplined Local Clock. This is a fake driver intended for backup
34
35
## and when no outside source of synchronized time is available.
35
36
##
36
37
server 127.127.1.0 # local clock (LCL)
37
38
fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
38
39
40
+ <% end -%>
39
41
# Managed by puppet class { "ntp": servers => [ ... ] }
40
42
<% [ servers_real ] . flatten . each do |server | -%>
41
43
server <%= server %>
You can’t perform that action at this time.
0 commit comments