Find the answer to your Linux question:
Results 1 to 3 of 3
I'm looking for good ways to handle config generation. I have been rolling my own for a few years now, but I'm wondering if there is a better way and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225

    Config Generation


    I'm looking for good ways to handle config generation. I have been rolling my own for a few years now, but I'm wondering if there is a better way and would like to get some advice from anyone who has any ideas or experience in doing this.

    Here are some things I want to achieve in generating separate config files per host/service:

    1. Common options shared across all configs and changed from a single place
    2. Host/service specific options
    3. Replace generic options with host/service specific ones
    4. Some generic options may be set as non override-able

    Daemon features are welcome although I'm primarily looking at a daemon independent way of creating unix config files...
    The Human Equation:

    value(geeks) > value(mundanes)

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Location
    Lafayette, IN
    Posts
    83
    Have you taken a look at cfengine (www.cfengine.org)? The research computing group where I work uses it to manage the configuration on several thousand hosts.

  3. #3
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225
    I've used cfengine but it's not that good... it tends to do things like append this line to a config file is this line doesn't exist in the file...

    I prefer to generate configs and then have those complete configuration files pushed/pulled to a my servers.

    One problem is that you cannot just generate a stand alone configuration to vet or revision control using cfengine. It's tied inside cfengine itself.
    The Human Equation:

    value(geeks) > value(mundanes)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •