2015-02-19 16:13:23 +01:00
|
|
|
# == Class: xymon::server
|
|
|
|
#
|
|
|
|
# Manage installation and configuration of Xymon server.
|
|
|
|
#
|
|
|
|
# === Parameters
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# === Variables
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# === Examples
|
|
|
|
#
|
|
|
|
# class { 'xymon::server':
|
|
|
|
# }
|
|
|
|
#
|
|
|
|
# === Authors
|
|
|
|
#
|
|
|
|
# Gardouille <gardouille@gmail.com>
|
|
|
|
#
|
|
|
|
# === Copyright
|
|
|
|
#
|
|
|
|
# WTFPL <http://wtfpl.org/>
|
|
|
|
#
|
|
|
|
class xymon::server (
|
2015-02-20 11:42:31 +01:00
|
|
|
$dep_pkg_name = $xymon::params::srv_dep_pkg_name,
|
|
|
|
$download_dir = $xymon::params::srv_download_dir,
|
|
|
|
$download_url = $xymon::params::srv_download_url,
|
|
|
|
$new_version = $xymon::params::srv_new_version,
|
|
|
|
$package_name = $xymon::params::srv_package_name,
|
|
|
|
$pkg_ensure = $xymon::params::srv_pkg_ensure,
|
|
|
|
$pkg_provider = $xymon::params::srv_pkg_provider,
|
2015-02-20 13:53:36 +01:00
|
|
|
$service_enabled = $xymon::params::srv_service_enabled,
|
|
|
|
$service_managed = $xymon::params::srv_service_managed,
|
|
|
|
$service_name = $xymon::params::srv_service_name,
|
2015-02-20 16:37:59 +01:00
|
|
|
$manage_client = $xymon::params::manage_client,
|
|
|
|
$manage_apache_conf = $xymon::params::manage_apache_conf,
|
|
|
|
$manage_apache_vhost = $xymon::params::manage_apache_vhost,
|
2015-02-19 16:13:23 +01:00
|
|
|
) inherits xymon::params {
|
|
|
|
|
2015-02-20 11:33:03 +01:00
|
|
|
include '::xymon::server::preconfig'
|
2015-02-19 16:42:34 +01:00
|
|
|
include '::xymon::server::install'
|
2015-02-20 16:59:16 +01:00
|
|
|
include '::xymon::server::config'
|
2015-02-20 13:53:36 +01:00
|
|
|
include '::xymon::server::service'
|
2015-02-20 16:37:59 +01:00
|
|
|
include '::xymon::server::apache'
|
2015-02-19 16:13:23 +01:00
|
|
|
|
2015-02-20 11:33:03 +01:00
|
|
|
Class['::xymon::server::preconfig'] ->
|
2015-02-20 13:53:36 +01:00
|
|
|
Class['::xymon::server::install'] ->
|
2015-02-20 16:59:16 +01:00
|
|
|
Class['::xymon::server::config'] ->
|
2015-02-20 16:37:59 +01:00
|
|
|
Class['::xymon::server::service'] ->
|
|
|
|
Class['::xymon::server::apache']
|
2015-02-19 16:13:23 +01:00
|
|
|
|
|
|
|
} # Public class: xymon::server
|