From 20622886841ced9d687c017631db01aba5c3a06b Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Sat, 20 Jul 2013 19:05:36 +0300 Subject: [PATCH] dns: Fix for spaces in augeas options --- dns/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns/manifests/init.pp b/dns/manifests/init.pp index ce59586..b12dcc3 100644 --- a/dns/manifests/init.pp +++ b/dns/manifests/init.pp @@ -96,14 +96,14 @@ class dns::server { "debian", "ubuntu": { augeas { "set-named-default": context => "/files/etc/default/named", - changes => "set OPTIONS '${options}'", + changes => "set OPTIONS '\"${options}\"'", notify => Service["named"], require => Package["bind"], } } "fedora","centos","redhat": { augeas { "set-named-sysconfig": - changes => "set OPTIONS '${options}'", + changes => "set OPTIONS '\"${options}\"'", incl => "/etc/sysconfig/named", lens => "Shellvars.lns", notify => Service["named"],