From 3300868ceb1e23b3b15997ec362ee17b9db06af0 Mon Sep 17 00:00:00 2001 From: Bram Gillemon Date: Sun, 11 Feb 2024 23:41:13 +0100 Subject: [PATCH] cookstyle fixes --- attributes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index e4f252a8..2b471d87 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -43,7 +43,7 @@ default['ntp']['conf_owner'] = 'root' default['ntp']['conf_group'] = 'root' -if (platform?('debian') && node['platform_version'].to_i < 12) +if platform?('debian') && node['platform_version'].to_i < 12 default['ntp']['var_owner'] = 'ntp' default['ntp']['var_group'] = 'ntp' else @@ -95,7 +95,7 @@ # overrides on a platform-by-platform basis case node['platform_family'] -when 'debian', 'ubuntu' +when 'debian' default['ntp']['service'] = 'ntp' default['ntp']['apparmor_enabled'] = true if File.exist? '/etc/init.d/apparmor' default['ntp']['leapfile'] = '/usr/share/zoneinfo/leap-seconds.list'