summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--manifests/client.pp1
-rw-r--r--manifests/host.pp1
3 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index db6af95..68c3c55 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,14 @@ a very easy plugin interface. The munin homepage is http://munin.projects.linpro
Your modules directory will need all the files included in this repository placed under a directory called `munin`.
+### Upgrade notices
+
+Users of the module who are upgrading from a older version of the module might be interested in these important changes:
+
+ * The `munin::client` and `munin::host` classes should not be included
+ directly anymore. Instead, the main class should be used for both client and
+ server (server should have the `$is_server` parameter set to true).
+
### Master configuration
To install a master (or server) you need to flip one argument to true in the main class:
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 <david@schmitt.edv-bus.at>
# 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, }