fix: add cron dnssec

This commit is contained in:
Adrien Waksberg 2018-08-08 21:06:55 +02:00
parent 720a33f87c
commit 1615ce4254
2 changed files with 17 additions and 0 deletions

View file

@ -43,3 +43,12 @@
group: bind
mode: 0750
state: directory
- name: add cron dnssec
template:
src: dnssec.j2
dest: /etc/cron.weekly/dnssec
owner: root
group: root
mode: 0700
tags: bind

View file

@ -16,6 +16,14 @@ puts '================================'
end
end
describe file('/etc/cron.weekly/dnssec') do
it { should be_file }
it { should be_mode 700 }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
it { should contain 'test.local' }
end
%w[
test.local
hello.local