Skip to content

Commit

Permalink
Merge pull request #511 from lordievader/expose_optional_variables
Browse files Browse the repository at this point in the history
Expose server name in main class, fixes #510
  • Loading branch information
bastelfreak authored Jul 1, 2018
2 parents 2693fb3 + 06cf1af commit c8b7db9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
Boolean $manage_selinux = $zabbix::params::manage_selinux,
String $additional_service_params = $zabbix::params::additional_service_params,
Optional[String[1]] $zabbix_user = $zabbix::params::server_zabbix_user,
Optional[String] $zabbix_server_name = $zabbix::params::zabbix_server,
) inherits zabbix::params {

class { '::zabbix::web':
Expand Down Expand Up @@ -205,6 +206,7 @@
database_socket => $database_socket,
database_port => $database_port,
zabbix_server => $zabbix_server,
zabbix_server_name => $zabbix_server_name,
zabbix_listenport => $listenport,
apache_php_max_execution_time => $apache_php_max_execution_time,
apache_php_memory_limit => $apache_php_memory_limit,
Expand Down

0 comments on commit c8b7db9

Please sign in to comment.