itamae/cookbooks/base/files/etc
Kazuhiro MUSASHI a773b4a1b5 Install `systemd-timesyncd` and add its config file:
```
--- a/cookbooks/base/default.rb
+++ b/cookbooks/base/default.rb
@@ -80,6 +80,20 @@
 when "20.04", "22.04"
   service 'multipath-tools' do
     action :nothing
   end
+
+  package 'systemd-timesyncd'
+
+  service 'systemd-timesyncd' do
+    action :enable
+  end
+
+  remote_file '/etc/systemd/timesyncd.conf' do
+    owner 'root'
+    group 'root'
+    mode '0644'
+
+    notifies :restart, 'service[systemd-timesyncd]'
+  end
 end
```
2023-01-28 10:37:37 +09:00
..
apt/apt.conf.d Use `unattended-upgrade`, instead of `cron-apt`. 2020-10-13 21:18:37 +09:00
cron-apt initial commit 2019-03-03 16:50:49 +08:00
logrotate.d Install and initial setup for `lsyncd`. 2020-11-02 00:53:39 +09:00
ssh Deploy `sshd_config` for Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
sysctl.d Modify the kernel parameter to adjust the timeout for nf_conntrack. 2020-09-26 16:53:26 +09:00
systemd Install `systemd-timesyncd` and add its config file: 2023-01-28 10:37:37 +09:00
update-motd.d initial commit 2019-03-03 16:50:49 +08:00
motd.tail initial commit 2019-03-03 16:50:49 +08:00
multipath.conf Deploy the `/etc/multppath.conf` not to output the error message. 2020-11-07 13:02:31 +09:00
timezone initial commit 2019-03-03 16:50:49 +08:00