Skip to content

Commit

Permalink
disable arch on zabbix::proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 21, 2017
1 parent 98ed5a5 commit ca88993
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 270 deletions.
5 changes: 5 additions & 0 deletions manifests/proxy.pp
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,11 @@
$loadmodule = $zabbix::params::proxy_loadmodule,
) inherits zabbix::params {

# check osfamily, Arch is currently not supported for web
if $facts['os']['family'] == 'Archlinux' {
fail('Archlinux is currently not supported for zabbix::proxy ')
}

# Find if listenip is set. If not, we can set to specific ip or
# to network name. If more than 1 interfaces are available, we
# can find the ipaddress of this specific interface if listenip
Expand Down
2 changes: 1 addition & 1 deletion manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
) inherits zabbix::params {

# check osfamily, Arch is currently not supported for web
if $::osfamily == 'Archlinux' {
if $facts['os']['family'] == 'Archlinux' {
fail('Archlinux is currently not supported for zabbix::web ')
}

Expand Down
Loading

0 comments on commit ca88993

Please sign in to comment.