Skip to content

Commit

Permalink
Somehow a backslash got lost. fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Keel authored and Peter Keel committed Mar 26, 2015
1 parent ab7eef2 commit 01b5f85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/snmpv3_user.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 01b5f85

Please sign in to comment.