Closed dlebauer closed 9 years ago
no hacks is my approach, in this case pick the name that the machine returns using hostname -f
.
This will become more important if you use the scripts as well, the name will be used in the sync routines (see #149) as well.
I am not sure if this is a special case that we can ignore, or if we want to handle.
Currently, if I use the
dbfile.file
function on ebi-forecast, it works if I specify eitherlocalhost
orebi-forecast.igb.uiuc.edu
but notebi-forecast.igb.illinois.edu
:It comes down to this line returning NULL if the server is mis-specified
I can either a) write a quick
gsub(x, 'illinois', 'uiuc')
hack (my preferred approach) or b) stop using the alias (the cleaner approach) or c) find some other, more generic solution (e.g. return all server aliases) ... if this is a problem that others may encounterThoughts?