Commit c371b493 authored by fredj's avatar fredj
Browse files

postfix::config: fix augeas name.

An "invalid tag" error was thrown is the value was something like "[]".
The trick was to surround the value with single quotes.
Thanks gmambro for the bug report.
parent 2dc4c41b
......@@ -37,13 +37,13 @@ define postfix::config ($ensure = present, $value) {
case $ensure {
present: {
augeas { "set postfix $name to $value":
augeas { "set postfix '${name}' to '${value}'":
changes => "set $name $value",
absent: {
augeas { "set postfix $name to $value":
augeas { "rm postfix '${name}'":
changes => "rm $name",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment