[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scalable remote config
From: |
Chip Seraphine |
Subject: |
Re: Scalable remote config |
Date: |
Sun, 16 Nov 2003 16:22:18 -0000 (GMT) |
User-agent: |
WebMail/1.4.1 |
> What if I just used copy to copy both of the config files to the remote
> host, then invoke a shell command like this:
>
> cat info.cfg.main info.cfg.host > info.cfg
>
> Wouldn't that do the same thing I wanted? What's the drawlback of doing
> it that way?
That shold work fine, so long as you make sure the command is only fired
when it is needed (convergence).
Personally, I'd go with editfiles so that my file mods/generation can all
be found all in the same place, but that is mostly an aesthetic argument.