Thanks bbomgardner for the help on organizing cfengine files!  I think 
that's helped me quite a bit.  I've also checked out the engine room.  
But perhaps you can help me with my next steps. =)

I've created a bundle agent to handle the management of an ldap server.  
What I'd like to do is:
  - guarantee that the right packages are installed
  - ensure the service is running
  - Update configuration files that need to update
  - Ensure that the ldap server is configured with some basic user 
profiles (username, password, uid, gid, etc.)


I just found the functions ldapvalue() and related functions, so I'm 
sure that'll help me when I get there.

But my question is, do I have to do anything regarding ensuring the 
order of: package installation, configuration editing, service monitoring?

I see a restart_class option for processes, which will help me restart a 
service.  But I don't see much in the way of say ensuring that happens 
after a configruation edit, or that config edits happen after a package 
installation.  Does cfengine just always do this in the "right" order?  
Or do I need to specify an order if I'm dependent on one?  I know 
cfengine2 had a sequence list you could modify.  But bundlesequence 
doesn't appear to be what I want here... or am I supposed to do this by 
separating the actions into multiple bundle agents?  (I was trying to 
keep all configuration for a "service" in one file).

Thanks,
Danny

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to