Create a new subclass: xymon::server to manage Xymon Server.

This commit is contained in:
gardouille 2015-02-19 16:13:23 +01:00
parent 976812790b
commit 4efcfeddf3
1 changed files with 42 additions and 0 deletions

42
manifests/server.pp Normal file
View File

@ -0,0 +1,42 @@
# == 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 (
) inherits xymon::params {
if ! defined(Class['::xymon::client']) {
class { '::xymon::client':
service_enabled => false,
}
}
#include '::xymon::server::install'
#include '::xymon::server::config'
#include '::xymon::server::service'
#Class['::xymon::server::install'] ->
#Class['::xymon::server::config'] ->
#Class['::xymon::server::service']
} # Public class: xymon::server