[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maintaining RC symlinks
From: |
Mohamed Eldesoky |
Subject: |
Re: Maintaining RC symlinks |
Date: |
Mon, 14 Jun 2004 15:56:22 +0300 |
User-agent: |
KMail/1.6.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAzaB42FHsOWMJBKMRAuwUAJ0Xy6j5960muQDtYy6JYcDtGCEsQwCfbzPP
IBRs59DbcQl4jun9X9Q6m08=
=XTBy
-----END PGP SIGNATURE-----
- 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