[augeas-devel] Patch for Samba.aug

David Lutterkort lutter at redhat.com
Mon Dec 7 17:49:36 UTC 2009


On Fri, 2009-12-04 at 15:20 -0500, Partha Aji wrote:
> The samba augeas lens had issues dealing with entry key names that had ':' in them like,
> 		recycle:repository = .recycle
> 		recycle:keeptree = yes
> 		recycle:versions = yes
> 
> The attached patch fixes this issue. 


> diff --git a/lenses/samba.aug b/lenses/samba.aug
> index 4b303f6..28b9cf1 100644
> --- a/lenses/samba.aug
> +++ b/lenses/samba.aug
> @@ -14,7 +14,7 @@ module Samba =
>   *************************************************************************)
>  
>  let comment  = IniFile.comment IniFile.comment_re IniFile.comment_default
> -let sep      = del /[ \t]*[=:]/ " ="
> +let sep      = del /[ \t]*[=]/ " ="
>  let indent   = del /[ \t]*/ "   "

Why the change to sep ? Can ':' be used for the same purpose as '=' ?

David





More information about the augeas-devel mailing list