From: Luca Filipozzi Date: Wed, 8 Jan 2014 19:09:04 +0000 (+0000) Subject: fix sed command X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=2f7cea2feb5fb85c0f91f76bc23fb3b87bc985d6 fix sed command --- diff --git a/modules/ssl/manifests/init.pp b/modules/ssl/manifests/init.pp index ca63c9ee..bc4ae9f0 100644 --- a/modules/ssl/manifests/init.pp +++ b/modules/ssl/manifests/init.pp @@ -85,7 +85,7 @@ class ssl { notify => Exec['refresh_normal_hashes'], # see NOTE 1 } exec { 'modify_configuration': - command => "sed -i -e 's#!${cacert}#${cacert}' ${caconf}", + command => "sed -i -e 's#!${cacert}#${cacert}#' ${caconf}", onlyif => "grep -Fqx '!${cacert}' ${caconf}", notify => Exec['refresh_normal_hashes'], require => Package['ca-certificates'],