Defined Type: shinken::config

Defined in:
modules/shinken/manifests/config.pp

Overview

Define: shinken::config

Setup a shinken definition file

Parameters:

  • ensure (Any) (defaults to: present)
  • source (Any) (defaults to: undef)


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'modules/shinken/manifests/config.pp', line 3

define shinken::config(
    $ensure  = present,
    $source  = undef,
) {
    include shinken

    file { "/etc/shinken/customconfig/${title}.cfg":
        ensure  => $ensure,
        source  => $source,
        owner   => 'shinken',
        group   => 'shinken',
        notify  => Service['shinken'],
        require => Package['shinken']
    }
}