[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
control block with many files
From: |
Alex J. Lovell-Troy |
Subject: |
control block with many files |
Date: |
Sat, 28 Aug 2004 21:22:56 -0700 |
User-agent: |
Mutt/1.4.1i |
I've been setting up cfengine for the last week and have been working on
simplifying the strucure of the main files by encapsulating all info about
each service in it's own file. For example, I use LDAP for all authentication
and have a file with the following structure for that "service":
copy:
any::
#gather all ldap config files
RedhatMachines::
#gather the redhat pam stuff
editfiles:
site1::
#edit files to suit local stuff
site2::
#edit files to suit local stuff
site3::
#edit files to suit local stuff
shellcommmands:
RedhatMachines::
#chkconfig stuff for nscd and autofs
I have other files that do similar things with other services on servers and
clients. The problem is that a single control block in cf.main doesn't seem
to do what I want. Execution doesn't pick up from my other files. It only
works on the cf.main file. However, when I add a control block (with
actionsequence ) to each file, I get warnings.
I know that this is different than the config files that I have found, but it
seems to make more sense to me this way. Can anyone offer a suggestion for
dealing with many files with a single, or many control blocks with
actionsequences?
-alex
pgpMp9MpHZsTH.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- control block with many files,
Alex J. Lovell-Troy <=