fix: add cron dnssec
This commit is contained in:
parent
720a33f87c
commit
1615ce4254
2 changed files with 17 additions and 0 deletions
|
@ -43,3 +43,12 @@
|
||||||
group: bind
|
group: bind
|
||||||
mode: 0750
|
mode: 0750
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: add cron dnssec
|
||||||
|
template:
|
||||||
|
src: dnssec.j2
|
||||||
|
dest: /etc/cron.weekly/dnssec
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0700
|
||||||
|
tags: bind
|
||||||
|
|
|
@ -16,6 +16,14 @@ puts '================================'
|
||||||
end
|
end
|
||||||
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[
|
%w[
|
||||||
test.local
|
test.local
|
||||||
hello.local
|
hello.local
|
||||||
|
|
Loading…
Reference in a new issue