[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maintaining RC symlinks
From: |
Chip Seraphine |
Subject: |
Re: Maintaining RC symlinks |
Date: |
Mon, 14 Jun 2004 10:41:10 -0500 |
User-agent: |
KMail/1.5.4 |
Ok. Make that 'every permutation of service requirements', which is still not
efficiently manageable in a medium-to-large environment.
On Monday 14 June 2004 07:56, Mohamed Eldesoky wrote:
> You don't have to do that for every host, if you manage to organize your
> servers neatly.
>
> On Monday 14 June 2004 3:07 pm, Chip Seraphine wrote:
> > The only problem with that approach is that you'd have to build a custom
> > turnOffServices and turnOnServices string for every (or almost every)
host,
> > which would be a real PITA in cfengine.
> >
> > Hmmm. Although a module could do it pretty easily.......
> >
> > On Friday 11 June 2004 15:54, you wrote:
> > > On Wed, 9 Jun 2004, Chip Seraphine wrote:
> > > > I'm getting ready to write a script for turning on and off SVR4-style
> >
> > start/
> >
> > > > kill symlinks to init.d scripts (think chkconfig, but less friendly).
> >
> > Before
> >
> > > > I reinvent any wheels, I was wondering if anybody wants to share any
> >
> > really
> >
> > > > clever solutions or ideas for adding/removing links...
> > >
> > > Maybe this is a cheap shot, but I figured if you're going to rely on an
> >
> > outside
> >
> > > script you might appreciate it anyway : (long lines broken)
> > >
> > >
> > > control:
> > >
> > > actionsequence = ( shellcommands )
> > >
> > > turnOffServices = ( "canna:gpm:autofs:kudzu:sendmail:netfs:
> > > ipchains:iptables:portmap:nfs:nfslock:xfs:xinetd:ypbind:
> > > cfengine:snmpd:wine:mysqld" )
> > >
> > > turnOnServices = ( "sshd:httpd:ntpd" )
> > >
> > > shellcommands:
> > >
> > > "/sbin/chkconfig --level 123456 $(turnOffServices) off"
> > > "/sbin/chkconfig --level 2345 $(turnOnServices) on"
> > >
> > >
> > > --
> > >
> > > Eric Sorenson - EXPLOSIVE Networking - http://explosive.net
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
--
Chip Seraphine
Unix Administrator
TradeLink, LLC
312-264-2048
chip@trdlnk.com
- Maintaining RC symlinks, Chip Seraphine, 2004/06/09
- Re: Maintaining RC symlinks, Jamie Wilkinson, 2004/06/10
- Re: Maintaining RC symlinks, Luke A. Kanies, 2004/06/11
- Re: Maintaining RC symlinks, Eric Sorenson, 2004/06/11
- Re: Maintaining RC symlinks, Brendan Strejcek, 2004/06/14
- Re: Maintaining RC symlinks, Chip Seraphine, 2004/06/14
Re: Maintaining RC symlinks, Kai Grossjohann, 2004/06/13