[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Other possible cfengine weak areas?
From: |
Mark . Burgess |
Subject: |
Re: Other possible cfengine weak areas? |
Date: |
Thu, 22 Jan 2004 23:55:59 +0100 (MET) |
netconfig in the action sequence comprises the interface
configuration. Here there is an "Old way to do it" and a
"new way to do it" (see docs). The fact that the actionsequence
name does not match the interfaces seciton is a historical
quirk, because I orginally solved the problem poorly and ended
up rewriting something better.
M
On 23 Jan, Systems Administrator wrote:
> On Thu, 22 Jan 2004 Mark.Burgess@iu.hio.no wrote:
>
>> All of these are possible and documented in cfengine.
>
> Hmm. Well, I couldn't figure out how to do them (except the
> service management thing, maybe). Maybe I still don't understand cfengine
> in spite of ongoing perusal of the documentation, although I like to think
> I'm getting a bit of a feel for it.
>
>> > - Network interface setup. I wanted to be able to set up multiple
>> > virtual network interfaces with different IPs, based on the
>> > primary IP. I integrated this into the Package Management
>> > software above, since it already had a hosts table, and just
>> > needed an Interfaces table
>
> I'm guessing I'd be looking at something like:
> -----
> interfaces:
> "eth0:0" netmask=255.255.255.0 broadcast=ones
> -----
>
> ...or maybe the mysterious netconfig command. But that
> interfaces section there doesn't let you specify an address.
>
> I note that you can specify "netconfig" in the action sequence.
> Is there a corresponding undocumented "netconfig:" section of the config
> file, or does it just figure this out from other info?
>
>> > - Disks: I wanted basically just to:
>> > - Be alerted when a disk is more than 80% full
>
> Sorry, I left one out of the comment here -- I also wanted to have
> cfengine figure out which filesystems exist, rather than me having to
> specify them all in the cfengine config. Is it still possible?
>
>> > - Be able to set fstab options
>
> Does this require editfiles, or is it possible another way?
>
>> > ...and I wanted to be able to do this for non-NFS filesystems
>
> Thanks,
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: Other possible cfengine weak areas?, Jamie Wilkinson, 2004/01/22
Re: Other possible cfengine weak areas?, David Douthitt, 2004/01/22