We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b440d commit 0cbed8fCopy full SHA for 0cbed8f
icinga2/config.sls
@@ -167,6 +167,9 @@ include:
167
168
### Begin user configuration
169
{%- if conf.users is defined %}
170
+{{ icinga2.confd_dir }}/users.conf:
171
+ file.absent: []
172
+
173
{{ icinga2.confd_dir }}/users:
174
file.directory:
175
- require:
test/integration/default/controls/config_spec.rb
@@ -128,6 +128,14 @@
128
end
129
130
131
+control 'icinga2 `conf.d/users.conf` configuration' do
132
+ title 'should not exist'
133
134
+ describe file('/etc/icinga2/conf.d/users.conf') do
135
+ it { should_not exist }
136
+ end
137
+end
138
139
control 'icinga2 `conf.d/users/alice.conf` configuration' do
140
title 'should match desired lines'
141
0 commit comments