help-cfengine
[Top][All Lists]
Advanced

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

Troubles with update.conf


From: Guillaume Rousse
Subject: Troubles with update.conf
Date: Wed, 19 Jan 2005 17:10:45 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041216)

The following file doesn't work when used as update.conf, meaning files are not copied from the master host. Curiously, just turning it into an cfagent.conf make it work, but then I loose the main interest of update/cfagent separation. What is the problem ?

Output of cfagent -v -q follows.

#
# cfengine update configuration file
#

control:

    actionsequence      = ( copy )
    access              = ( root )
    sysadm              = ( root )
    domain              = ( mydomain )
    master              = ( mymaster )
    SplayTime           = ( 1 )
    workdir             = ( /var/lib/cfengine )
    repository          = ( $(workdir)/backups )
    srcdir              = ( $(workdir)/inputs )
    mdkversion          = ( ExecResult(/bin/rpm --eval %mdkversion) )
    masterdir           = ( $(srcdir)/$(mdkversion) )

copy:

    $(masterdir)                        dest=$(srcdir)
                                        server=$(master)
                                        owner=root
                                        group=root
                                        recurse=inf
                                        exclude=*~
                                        trustkey=true

    $(srcdir)/cfengine/update.conf      dest=/etc/cfengine/update.conf
                                        owner=root

    $(srcdir)/cfengine/cfagent.conf     dest=/etc/cfengine/cfagent.conf
                                        owner=root

root@chouchen:/etc/cfengine# cfagent -q -v
Setting cfengine new port to 5308
Setting cfengine old port to 5308
Reference time set to Wed Jan 19 17:03:10 2005

GNU Configuration Engine -
2.1.12
Free Software Foundation 1994-
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, 0254 Oslo, Norway

------------------------------------------------------------------------

Host name is: chouchen.inria.fr
Operating System Type is linux
Operating System Release is 2.6.8.1-20mdk-i686-up-64GB
Architecture = i686


Using internal soft-class linux for host linux

The time is now Wed Jan 19 17:03:10 2005


------------------------------------------------------------------------

Additional hard class defined as: 32_bit
Additional hard class defined as: linux_2_6_8_1_20mdk_i686_up_64GB
Additional hard class defined as: linux_i686
Additional hard class defined as: linux_i686_2_6_8_1_20mdk_i686_up_64GB
Additional hard class defined as: linux_i686_2_6_8_1_20mdk_i686_up_64GB__1_Mon_Nov_8_12_00_53_CET_2004

GNU autoconf class from compile time: compiled_on_linux_gnu

Address given by nameserver: 128.93.8.9
Interface 1: lo
Interface 2: eth0
Trying to locate my IPv6 address
Found IPv6 address inet6:
Found IPv6 address fe80::210:5aff:fe41:fe37
Found IPv6 address inet6:
Looking for environment from cfenvd...

Unable to detect environment from cfenvd

cfengine:: No preconfiguration file

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 * (Changing context state to: update) *
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Looking for an input file /etc/cfengine/update.conf
Finished with update.conf

---------------------------------------------------------------------
Looking for remote method collaborations
---------------------------------------------------------------------


Finished with RPC

LogDirectory = /var/lib/cfengine
Loaded /var/lib/cfengine/ppkeys/localhost.priv
Loaded /var/lib/cfengine/ppkeys/localhost.pub
Checksum database is /var/lib/cfengine/checksum.db

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 * (Changing context state to: main) *
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

---------------------------------------------------------------------
Loading persistent classes
---------------------------------------------------------------------

---------------------------------------------------------------------
Loaded persistent memory
---------------------------------------------------------------------

Looking for environment from cfenvd...

Unable to detect environment from cfenvd

Looking for an input file /etc/cfengine/cfagent.conf
cf:cfengine::/etc/cfengine/cfagent.conf:11: Redefinition of system variable repository
Finished with cfagent.conf

Accepted domain name: inria.fr


Defined Classes = ( 128_93_8 128_93_8_9 32_bit Day19 Hr17 Hr17_Q1 January Mandrake Min00_05 Min03 Q1 Wednesday Yr2005 any cfengine_2 cfengine_2_1 cfengine_2_1_12 chouchen chouchen_inria_fr compiled_on_linux_gnu fe80__210_5aff_fe41_fe37 i686 inet6_ inria_fr ipv4_128 ipv4_128_93 ipv4_128_93_8 ipv4_128_93_8_9 linux linux_2_6_8_1_20mdk_i686_up_64GB linux_i686 linux_i686_2_6_8_1_20mdk_i686_up_64GB linux_i686_2_6_8_1_20mdk_i686_up_64GB__1_Mon_Nov_8_12_00_53_CET_2004 net_iface_eth0 net_iface_lo )

Negated Classes = ( )

Installable classes = ( new_sshd )

Global expiry time for locks: 120 minutes

Global anti-spam elapse time: 1 minutes

Extensions which should not be directories = ( )
Suspicious filenames to be warned about = ( )
--
You get the most of what you need the least
                -- Sad Truths of Life n°23



reply via email to

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