Skip to content

Commit

Permalink
update to new archlinux package name
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 20, 2017
1 parent f1b54b9 commit c2b1f3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$proxy_fpinglocation = '/usr/bin/fping'
$proxy_fping6location = '/usr/bin/fping6'
$manage_repo = false
$zabbix_package_agent = 'zabbix3-agent'
$zabbix_package_agent = 'zabbix-agent'
$agent_configfile_path = '/etc/zabbix/zabbix_agentd.conf'

}
Expand Down
7 changes: 1 addition & 6 deletions spec/classes/agent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@
end

context 'with all defaults' do
package = case facts[:osfamily]
when 'Archlinux'
'zabbix3-agent'
else
'zabbix-agent'
end
package = 'zabbix-agent'
# Make sure package will be installed, service running and ensure of directory.
it do
is_expected.to contain_package(package).with(
Expand Down

0 comments on commit c2b1f3b

Please sign in to comment.