From 01b5f8503de4e8c3310ee9414b69cd63b11da130 Mon Sep 17 00:00:00 2001 From: Peter Keel Date: Thu, 8 Jan 2015 16:33:11 +0100 Subject: [PATCH] Somehow a backslash got lost. fixed --- manifests/snmpv3_user.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/snmpv3_user.pp b/manifests/snmpv3_user.pp index e566ae11..df3fa40e 100644 --- a/manifests/snmpv3_user.pp +++ b/manifests/snmpv3_user.pp @@ -78,9 +78,9 @@ } if $privpass { - $cmd = "createUser ${title} ${authtype} \\"${authpass}\\" ${privtype} \\"${privpass}\\"" + $cmd = "createUser ${title} ${authtype} \\\"${authpass}\\\" ${privtype} \\\"${privpass}\\\"" } else { - $cmd = "createUser ${title} ${authtype} \\"${authpass}\\"" + $cmd = "createUser ${title} ${authtype} \\\"${authpass}\\\"" } exec { "create-snmpv3-user-${title}": path => '/bin:/sbin:/usr/bin:/usr/sbin',