From 2f7cea2feb5fb85c0f91f76bc23fb3b87bc985d6 Mon Sep 17 00:00:00 2001 From: Luca Filipozzi Date: Wed, 8 Jan 2014 19:09:04 +0000 Subject: [PATCH] fix sed command --- modules/ssl/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- 2.39.2