Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename ListenIp => ListenIP #65

Merged
merged 1 commit into from
Mar 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/classes/proxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@

context 'with listenip => 192.168.1.1' do
let(:params) { {:listenip => '192.168.1.1'} }
it { should contain_file('/etc/zabbix/zabbix_proxy.conf').with_content %r{^ListenIp=192.168.1.1$}}
it { should contain_file('/etc/zabbix/zabbix_proxy.conf').with_content %r{^ListenIP=192.168.1.1$}}
end

context 'with housekeepingfrequency => 1' do
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@

context 'with listenip => 192.168.1.1' do
let(:params) { { :listenip => '192.168.1.1' } }
it { should contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^ListenIp=192.168.1.1}}
it { should contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^ListenIP=192.168.1.1}}
end

context 'with housekeepingfrequency => 1' do
Expand Down
2 changes: 1 addition & 1 deletion templates/zabbix_proxy.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ StartSNMPTrapper=<%= @snmptrapper %>
# Trapper will listen on all network interfaces if this parameter is missing.
#
<% if @listenip %>
ListenIp=<%= @listenip %>
ListenIP=<%= @listenip %>
<% end %>

### Option: HousekeepingFrequency
Expand Down
2 changes: 1 addition & 1 deletion templates/zabbix_server.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ StartSNMPTrapper=<%= @startsnmptrapper %>
# trapper will listen on all network interfaces if this parameter is missing.
#
<% if @listenip %>
ListenIp=<%= @listenip %>
ListenIP=<%= @listenip %>
<% end %>

### option: housekeepingfrequency
Expand Down