itamae/cookbooks/base
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
..
files Install `systemd-timesyncd` and add its config file: 2023-01-28 10:37:37 +09:00
templates/etc/apt/sources.list.d initial commit 2019-03-03 16:50:49 +08:00
aws_ec2.rb Modify the way of generating swap image. 2019-11-05 23:20:35 +08:00
default.rb Install `systemd-timesyncd` and add its config file: 2023-01-28 10:37:37 +09:00
fortune.rb initial commit 2019-03-03 16:50:49 +08:00
kernel.rb Modify the kernel parameter to adjust the timeout for nf_conntrack. 2020-09-26 16:53:26 +09:00
lang.rb initial commit 2019-03-03 16:50:49 +08:00
lsyncd.rb Do not deploy SSH keys if already deployed. 2020-11-12 15:55:27 +09:00
mc.rb initial commit 2019-03-03 16:50:49 +08:00
packages.rb Modify permission of `git` hook. 2022-08-07 20:49:37 +09:00
ssh.rb Deploy `sshd_config` for Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
starship.rb Install `starship`. 2022-08-07 20:43:15 +09:00
timezone.rb Use `node['platform_version']` & support `Ubuntu 22.04` for timezone setting: 2023-01-28 10:37:37 +09:00
ufw.rb initial commit 2019-03-03 16:50:49 +08:00
unattended-upgrade.rb Use `unattended-upgrade`, instead of `cron-apt`. 2020-10-13 21:18:37 +09:00