Refactor publisher.sls and server/init.sls to support registry variable

Change-Id: I782eb9fdb2439f058d7fdc94a9d07f0873d1ef9a
2 files changed