help-cfengine
[Top][All Lists]
Advanced

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

Re: works in 2.0.8p1, doesn't work in 2.1.0b4/5


From: Mark . Burgess
Subject: Re: works in 2.0.8p1, doesn't work in 2.1.0b4/5
Date: Mon, 13 Oct 2003 00:12:40 +0200 (MEST)

You need to be a lot clearer and send me an example that I can run
here if you think there is a problem. Since I am not having any
problems, I am finding it difficult to understand exactly what
you think is wrong.

I do not understand the output you send me. Is it from 2.1.0
or 2.0.8?

M

On 12 Oct, Kurt Lieber wrote:
> On Sun, Oct 12, 2003 at 05:55:42PM +0200 or thereabouts, 
> Mark.Burgess@iu.hio.no wrote:
>> I have tested this example here and it seems to wrk fine.
>> 
>> Check with -p -d3 that the relevant rule has been loaded,
>> i.e. that the class "all" is properly defined.
> 
> Sorry -- that was my typo in the email.  s/all/any/
> 
> However, it's not just that one part that doesn't work -- that section was
> just there to try and debug the problem.  Anything outside of updating cf
> configuration files appears to fail under 2.1.0.
> 
> In my main cfagent.conf file, I import the following classes:
> 
> -------------------------------------------------------------------------
> import:
>         any::
>                 cf.groups
>                 cf.fileperms
>                 cf.directoryperms
>                 cf.ntp
>                 cf.syslog
>                 cf.sshd
> -------------------------------------------------------------------------
> 
> As an example, cf.ntp is:
> 
> -------------------------------------------------------------------------
> control:
>         actionsequence = ( 
>                      copy._ntp
>                      shellcommands._ntp
>                     )
>         
> groups:
>         _ntp_server    = ( ntp.gentoo.org )
>    
> copy:
>    _ntp.!_ntp_server::
>             $(master_files)/etc/ntp.conf.default    dest=/etc/ntp.conf
>                                                     define=_ntp_bounce
>                                                     type=checksum
>                                                     syslog=true
>                                                     server=$(gold)
>                                                     force=true
> 
>    _ntp._ntp_server::
>             $(master_files)/etc/ntp.conf.ntpserver  dest=/etc/ntp.conf
>                                                     define=_ntp_bounce
>                                                     type=checksum
>                                                     syslog=true
>                                                     server=$(gold)
>                                                     force=true
> 
> shellcommands:
>         _ntp._ntp_bounce::
>         "/etc/init.d/ntpd restart"
> -------------------------------------------------------------------------
> 
> (the 'force=true' directives are in there as a troubleshooting step --
> they're not normally included) 
> 
> The other configuration files are all quite similar, using '_<service
> name>' as a class definition.
> 
> Running 'cfagent -p -d3' shows that all these classes are available:
> 
> -------------------------------------------------------------------------
> Installable classes = ( _fileperms _directoryperms _ntp _ntp_bounce _syslog 
> _syslog_bounce _sshd _sshd_bounce )
> -------------------------------------------------------------------------
> 
> Again, everything works perfectly if I'm running 2.0.8p1.  Upgrading to
> 2.1.0b4 or b5 causes all of the above class files to not work.  (other
> things may fail too -- the only thing that I know for sure that works is
> updating of cf configuration files)
> 
> --kurt
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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