Create a new subclass: xymon::server to manage Xymon Server.
This commit is contained in:
parent
976812790b
commit
4efcfeddf3
42
manifests/server.pp
Normal file
42
manifests/server.pp
Normal 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
|
Loading…
Reference in New Issue
Block a user