help-cfengine
[Top][All Lists]
Advanced

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

AllowRedefinitionOf not allowing redefinition


From: Jamie Wilkinson
Subject: AllowRedefinitionOf not allowing redefinition
Date: Mon, 9 Aug 2004 15:07:55 +1000
User-agent: Mutt/1.5.6+20040722i

Hi,

I'd been experiencing this since I upgraded to 2.1.6, and just installed the
RPM of 2.1.8 from Dag Wieer's archive hoping it'd be gone, but alas its
still there.

I have this fragment in my PostgreSQL cfinput:

control:

  AllowRedefinitionOf = ( postgres_virtual_host postgres_shared_buffers 
postgres_max_connections postgres_service_name )

  postgres_max_connections = ( 128 )
  postgres_shared_buffers = ( 300 )
  postgres_virtual_host = ( 127.0.0.1 )
  postgres_service_name = ( postgres )

  some_machine::
    postgres_virtual_host = ( xx )
    postgres_shared_buffers = ( 8192 )
    postgres_max_connections = ( 100 )

  redhat_es_3::

    postgres_service_name = ( rhdb )

I get 

cfengine::/var/cfengine/inputs/postgresql.cf:61: Warning: Redefinition of
macro postgres_service_name=rhdb

from each run of cfagent.

Now in the middle I redefine those variables for various hosts and nothing
complains; only on my RHEL 3ES machines does the postgres_service_name
trigger a warning; even on one RHEL 3ES machine that also has the
virtual_host, shared_buffers and max_connections redefined, only
postgres_service_name causes the warning to be generated.

Any clues?
    
-- 
jaq@spacepants.org                           http://spacepants.org/jaq.gpg




reply via email to

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