Permalink
Browse files

Renamed parameter and fixed typo

  • Loading branch information...
1 parent 3a9ffe5 commit 31105c04aca3a05858afe087b0d387e9a1246093 Robert Zotter committed Nov 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 manifests/command.pp
  2. +1 −1 templates/nrpe-command.cfg.erb
View
@@ -1,7 +1,7 @@
define nrpe::command(
$cmd,
$cmdname=$name,
- $cmdpath=$nrpe::params::libdir,
+ $cwd=$nrpe::params::plugindir,
$ensure='present'
) {
case $ensure {
@@ -1,4 +1,4 @@
########################################
# PUPPET MANAGED
########################################
-command[<%= cmdname %>] = <%= File.join(cmdpath, cmd) %>
+command[<%= cmdname %>] = <%= File.join(cwd, cmd) %>

0 comments on commit 31105c0

Please sign in to comment.