diff options
Diffstat (limited to 'cfengine/cf.services.ftp')
-rw-r--r-- | cfengine/cf.services.ftp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cfengine/cf.services.ftp b/cfengine/cf.services.ftp index f90f8a3..669d2a9 100644 --- a/cfengine/cf.services.ftp +++ b/cfengine/cf.services.ftp @@ -20,11 +20,11 @@ editfiles: # WarnIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" - Append 'DefaultRoot ~ # Added by cfengine' + Append 'DefaultRoot ~' EndGroup LocateLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" - BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]]+~[[:blank:]].*$" - ReplaceLineWith 'DefaultRoot ~ # Edited by cfengine' + BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]]+~$" + ReplaceLineWith 'DefaultRoot ~' EndGroup UnsetAbort "^[[:blank:]]*VirtualHost[[:blank:]]*.*$" } |