Skip to content

Commit

Permalink
Merge pull request #79 from altvnk/no_not_purge_includedir
Browse files Browse the repository at this point in the history
Allow to not purge include dir.
  • Loading branch information
dj-wasabi committed Apr 19, 2015
2 parents 43e7eca + a775936 commit 0da8681
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/agent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
$zabbix_alias = $zabbix::params::agent_zabbix_alias,
$timeout = $zabbix::params::agent_timeout,
$include_dir = $zabbix::params::agent_include,
$include_dir_purge = $zabbix::params::agent_include_purge,
$unsafeuserparameters = $zabbix::params::agent_unsafeuserparameters,
$userparameter = $zabbix::params::agent_userparameter,
$loadmodulepath = $zabbix::params::agent_loadmodulepath,
Expand Down Expand Up @@ -286,7 +287,7 @@
owner => 'zabbix',
group => 'zabbix',
recurse => true,
purge => true,
purge => $include_dir_purge,
notify => Service['zabbix-agent'],
require => File[$agent_configfile_path],
}
Expand Down
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
$agent_zabbix_alias = undef
$agent_timeout = '3'
$agent_include = '/etc/zabbix/zabbix_agentd.d'
$agent_include_purge = true,
$agent_unsafeuserparameters = '0'
$agent_userparameter = undef
$agent_loadmodulepath = '/usr/lib/modules'
Expand Down

0 comments on commit 0da8681

Please sign in to comment.