Puppet Class: zabbix::sender
Summary
This will install and configure the zabbix-agent deamon
Overview
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'manifests/sender.pp', line 5
class zabbix::sender (
$zabbix_version = $zabbix::params::zabbix_version,
$zabbix_package_state = $zabbix::params::zabbix_package_state,
$manage_repo = $zabbix::params::manage_repo,
) inherits zabbix::params {
# Only include the repo class if it has not yet been included
unless defined(Class['Zabbix::Repo']) {
class { 'zabbix::repo':
manage_repo => $manage_repo,
zabbix_version => $zabbix_version,
}
}
# Installing the package
package { 'zabbix-sender':
ensure => $zabbix_package_state,
require => Class['zabbix::repo'],
tag => 'zabbix',
}
}
|