summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
-rw-r--r--manifests/client/package.pp6
2 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 5018472..f787d35 100644
--- a/README
+++ b/README
@@ -69,10 +69,10 @@ To use this module, follow these directions:
include munin::client
If you want to specify a particular package version for the munin
- client, you can set the $munin_ensure_version variable _before_ the
+ client, you can set the $munin_node_ensure_version variable _before_ the
above include, like this
- $munin-node_ensure_version = "1.2.6-17"
+ $munin_node_ensure_version = "1.2.6-17"
g. If there are particular munin plugins you want to enable or configure, you define them
in the node definition, like follows:
diff --git a/manifests/client/package.pp b/manifests/client/package.pp
index 482ca4f..7f8a7ba 100644
--- a/manifests/client/package.pp
+++ b/manifests/client/package.pp
@@ -1,10 +1,10 @@
class munin::client::package inherits munin::client::base {
- case $munin-node_ensure_version {
- '': { $munin-node_ensure_version = "installed" }
+ case $munin_node_ensure_version {
+ '': { $munin_node_ensure_version = "installed" }
}
- package { 'munin-node': ensure => $munin-node_ensure_version }
+ package { 'munin-node': ensure => $munin_node_ensure_version }
Service['munin-node']{
require => Package[munin-node],
}