help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class definitions inside conditionals or loops are not allowed


From: Matt Armstrong
Subject: Re: Class definitions inside conditionals or loops are not allowed
Date: Mon, 17 Feb 2003 07:20:37 -0700
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2

Adrian Phillips <a.phillips@met.no> writes:

>       # Close up a security hole in OpenSSH versions < 3.4.  We never
>       # use S/KEY anyway.
>       BeginGroupIfNoLineMatching "^ChallengeResponseAuthentication no$"
>               DeleteLinesMatching "^ChallengeResponseAuthentication"
>               Append "ChallengeResponseAuthentication no"
>               DefineClasses "sshd_reload_config"
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       EndGroup
>
> Move this after EndGroup

Thanks -- I did not know that DefineClasses won't define the class if
the file is not edited.

-- 
matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]