From d28384ffef1cbb19f0521654e6125bf2ddd07b49 Mon Sep 17 00:00:00 2001 From: Bram Gillemon Date: Sun, 28 Jan 2024 22:53:09 +0100 Subject: [PATCH] change ubuntu leap seconds --- kitchen.yml | 1 + spec/unit/recipes/default_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kitchen.yml b/kitchen.yml index 5eee8b96..c56c4da8 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -17,6 +17,7 @@ platforms: - name: centos-8 - name: debian-9 - name: debian-10 + - name: debian-12 - name: fedora-latest - name: freebsd-12 - name: opensuse-leap-15 diff --git a/spec/unit/recipes/default_spec.rb b/spec/unit/recipes/default_spec.rb index 35b3e5bf..1edd3948 100644 --- a/spec/unit/recipes/default_spec.rb +++ b/spec/unit/recipes/default_spec.rb @@ -60,10 +60,10 @@ end context 'the leapfile' do - cached(:cookbook_file) { chef_run.cookbook_file('/etc/ntp.leapseconds') } + cached(:cookbook_file) { chef_run.cookbook_file('/usr/share/zoneinfo/leap-seconds.list') } it 'creates the cookbook_file' do - expect(chef_run).to create_cookbook_file('/etc/ntp.leapseconds') + expect(chef_run).to create_cookbook_file('/usr/share/zoneinfo/leap-seconds.list') end it 'is owned by ntp:ntp' do