File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 462
462
it do
463
463
is_expected . not_to contain_file ( config_path ) . with_content (
464
464
%r{^(LogRemoteCommands|StartAgents|MaxLinesPerSecond
465
- |AllowRoot|User|LoadModulePath|AllowKey|DenyKey|
465
+ |AllowRoot|User|LoadModulePath|
466
466
EnableRemoteCommands|LogRemoteCommands)}
467
467
)
468
468
end
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ DebugLevel=<%= @debuglevel %>
48
48
#
49
49
<% if @sourceip %> SourceIP=<%= @sourceip %> <% end %>
50
50
51
- <% unless @agent2 %>
52
51
<% if @zabbix_version.to_f >= 5.0 %>
53
52
### Option: AllowKey
54
53
# Allow execution of item keys matching pattern.
@@ -74,6 +73,7 @@ DebugLevel=<%= @debuglevel %>
74
73
# Default:
75
74
<% if @denykey %> DenyKey=<%= @denykey -%> <% end %>
76
75
<% end %>
76
+ <% unless @agent2 %>
77
77
78
78
### Option: EnableRemoteCommands
79
79
# Whether remote commands from Zabbix server are allowed.
You can’t perform that action at this time.
0 commit comments