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 b2791ea commit 8212737Copy full SHA for 8212737
spec/classes/agent_spec.rb
@@ -154,6 +154,16 @@
154
it { is_expected.to contain_file(config_path).with_content %r{^HostInterfaceItem=system.hostname$} }
155
end
156
157
+ context 'configuration file with hostinterfaceitem set to fqdn' do
158
+ let :params do
159
+ {
160
+ hostinterfaceitem: 'zabbix.example.com'
161
+ }
162
+ end
163
+
164
+ it { should not compile }
165
166
167
context 'configuration file with hostinterface' do
168
let :params do
169
{
0 commit comments