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

Re: ITC: dpkg-sysconfig

On Mon, Aug 27, 2001 at 11:54:52PM -0400, Matt Zimmerman wrote:
> On Mon, Aug 27, 2001 at 10:22:27AM +0200, Ola Lundqvist wrote:
> > I'm about to create the package deb-sysconfig which is the base for
> > creating 'add-on' packages to create users, add add-on configs using
> > self-made debian packages. I wrote a letter about it some days ago.
> > 
> > There will be some sub-packages of this, deb-sysconfig-ssh,
> > deb-sysconfig-mysql and maybe more.


> If you're not already using it, cfengine would be a great tool to build this
I have now read the documentation of cfengine. That sounds interesting but
there are a couple of issues that needs to be solved.

> around.  Each package would only need to install a chunk of cfengine
> configuration, which would be included in the main system configuration.  In
> fact, each "configuration package" could be reduced to one cfengine config
> file, plus whatever auxiliary files are required (config templates, etc.).

There are a couple of problems. One is group memberships. In cfengine
(if I'm right) you can only do something like:

foo = ( bar1 bar2 bar3 )

This assigns barX to the group foo. But I need to have multiple packages
assign different users to the same group. I can not see that it is
possible, or.

But cfengine seems to be a nice thing. Quite hard to revert the changes
that cfengine have created but that is maybe not a big issue. It does
not solve all problems but some of them. I can not see that you can add
users using cfengine, but I can be wrong here too.

I'll probably make a whateverthepackagenameis-cfengine package. :)


// Ola

> -- 
>  - mdz
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Björnkärrsgatan 5 A.11   \
|  opal@lysator.liu.se                 584 36 LINKÖPING         |
|  +46 (0)13-17 69 83                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /

Reply to: