[Swift-devel] Question about app wildcards in trunk

Mihael Hategan hategan at mcs.anl.gov
Wed Dec 11 14:17:46 CST 2013


On Wed, 2013-12-11 at 12:55 -0600, David Kelly wrote:
> Hello,
> 
> Quick question about the app wildcard feature in trunk/0.95.
> 
> Suppose I have two sites defined, host1 and host2. I have an application
> called myapp. myapp is only installed on host1. Host2 does not have myapp.
> We're using this app definition file:
> 
> * * * INSTALLED INTEL32::LINUX null
> host1 myapp /path/to/myapp
> 
> In this config, myapp will run on both host1 and host2. When it tries to
> run on host2 it will fail because it's not in $PATH.
> 
> Is it possible to say "only run myapp on host1, but use wildcards for every
> other app"?

Unfortunately, not at this time. That was an issue I thought about, but
couldn't see any elegant way of expressing that. I welcome discussions
on how this would work in a backwards-compatible way.

Or maybe it's time to drop the backwards compatible way.

Mihael




More information about the Swift-devel mailing list