From 502555a4e3fc0c303bb92621946fc1c0668e96ca Mon Sep 17 00:00:00 2001 From: Charles Wyble Date: Thu, 1 Feb 2018 22:27:46 -0600 Subject: [PATCH] ntp bits --- slack/prod/common/scripts/postinstall | 2 +- slack/prod/ovh/files/etc | 16 ++++++++++++++++ slack/prod/pfv/files/etc/ntp.conf | 16 ++++++++++++++++ slack/prod/satx/files/etc/ntp.conf | 16 ++++++++++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 slack/prod/ovh/files/etc create mode 100644 slack/prod/pfv/files/etc/ntp.conf create mode 100644 slack/prod/satx/files/etc/ntp.conf diff --git a/slack/prod/common/scripts/postinstall b/slack/prod/common/scripts/postinstall index fe8b4f5..5ab05dd 100755 --- a/slack/prod/common/scripts/postinstall +++ b/slack/prod/common/scripts/postinstall @@ -1,3 +1,3 @@ #!/bin/bash -apt -y install htop glances sssd-ad dstat +apt -y install htop glances sssd-ad dstat ladvd snmpd ntp diff --git a/slack/prod/ovh/files/etc b/slack/prod/ovh/files/etc new file mode 100644 index 0000000..6e89285 --- /dev/null +++ b/slack/prod/ovh/files/etc @@ -0,0 +1,16 @@ +driftfile /var/lib/ntp/ntp.drift +statsdir /var/log/ntpstats/ +statistics loopstats peerstats clockstats +filegen loopstats file loopstats type day enable +filegen peerstats file peerstats type day enable +filegen clockstats file clockstats type day enable + +server pfv-ucs.turnsys.net +server satx-ucs.turnsys.net +server ovh-ucs.turnsys.net + +ntpsigndsocket /var/lib/samba/ntp_signd +restrict default mssntp noquery +restrict 127.0.0.1 +restrict ::1 +tinker panic 0 diff --git a/slack/prod/pfv/files/etc/ntp.conf b/slack/prod/pfv/files/etc/ntp.conf new file mode 100644 index 0000000..6e89285 --- /dev/null +++ b/slack/prod/pfv/files/etc/ntp.conf @@ -0,0 +1,16 @@ +driftfile /var/lib/ntp/ntp.drift +statsdir /var/log/ntpstats/ +statistics loopstats peerstats clockstats +filegen loopstats file loopstats type day enable +filegen peerstats file peerstats type day enable +filegen clockstats file clockstats type day enable + +server pfv-ucs.turnsys.net +server satx-ucs.turnsys.net +server ovh-ucs.turnsys.net + +ntpsigndsocket /var/lib/samba/ntp_signd +restrict default mssntp noquery +restrict 127.0.0.1 +restrict ::1 +tinker panic 0 diff --git a/slack/prod/satx/files/etc/ntp.conf b/slack/prod/satx/files/etc/ntp.conf new file mode 100644 index 0000000..6e89285 --- /dev/null +++ b/slack/prod/satx/files/etc/ntp.conf @@ -0,0 +1,16 @@ +driftfile /var/lib/ntp/ntp.drift +statsdir /var/log/ntpstats/ +statistics loopstats peerstats clockstats +filegen loopstats file loopstats type day enable +filegen peerstats file peerstats type day enable +filegen clockstats file clockstats type day enable + +server pfv-ucs.turnsys.net +server satx-ucs.turnsys.net +server ovh-ucs.turnsys.net + +ntpsigndsocket /var/lib/samba/ntp_signd +restrict default mssntp noquery +restrict 127.0.0.1 +restrict ::1 +tinker panic 0