From 633b8083d23011668735823dff4c5af2d491aa0c Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Fri, 14 Aug 2015 05:01:32 -0400 Subject: Add an upgrade notice about using the main class The module's behaviour was changed from needing to include two different classes to using only the main class (class munin) directly. However, this change was not documented and it could lead to weird errors related to variables being undefined. --- manifests/client.pp | 1 + manifests/host.pp | 1 + 2 files changed, 2 insertions(+) (limited to 'manifests') diff --git a/manifests/client.pp b/manifests/client.pp index f71d946..afab5f1 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -3,6 +3,7 @@ # Adapted and improved by admin(at)immerda.ch # configure a munin node +# WARNING: this class should not be included directly. See the 'munin' class. class munin::client { case $::operatingsystem { diff --git a/manifests/host.pp b/manifests/host.pp index 9831052..ffe7883 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -2,6 +2,7 @@ # Copyright (C) 2007 David Schmitt # See LICENSE for the full license granted to you. +# WARNING: this class should not be included directly. See the 'munin' class. class munin::host { package {'munin': ensure => installed, } -- cgit v1.2.3