From da6ded035a7074306587c76e8d3b90cda6b3bdc8 Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Wed, 30 Dec 2009 15:34:40 -0800 Subject: can't use - in a variable name --- README | 4 ++-- manifests/client/package.pp | 6 +++--- 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], } -- cgit v1.2.3