help-cfengine
[Top][All Lists]
Advanced

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

class not being defined


From: Kelly Brown
Subject: class not being defined
Date: Tue, 19 Apr 2005 09:31:29 -0700
User-agent: Debian Thunderbird 1.0 (X11/20050116)

Hello all:

I'm having problems with a class not being defined. This is the first time that I've used the classes action so that may be were the problem is.

So my cfagent.conf looks like this....

import:

  # everybody will do these
  any::        cf.main
               cf.groups
               cf.environ

  # only the debian systems will do this.
  debian::     cf.debian

  # only the FreeBSD systems will do this.
  freebsd::    cf.freebsd

It's in the cf.debian that I'm having problems....

control:

  AddInstallable  = ( NewApache2Cfg NewEximCfg NewPostfixCfg NewNtpCfg
                      SnmpdInstalled NewSnmpCfg )

###########################################################################

classes:

  SnmpdInstalled = ( FileExists (/etc/snmp/snmpd.conf) )

###########################################################################

The class SnmpdInstalled never gets defined but that file does exist. Any ideas? Am I only allowed to do the classes action in the cfagent.conf?

Thx
-K






reply via email to

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