On 2014/04/13 23:06, Landry Breuil wrote:
> On Sat, Apr 12, 2014 at 05:44:59PM +0200, viq wrote:
> > Currently _salt-master has home of /nonexistent.
> > _salt-master needs a home dir that exists to be able to use git with ssh
> > keys. Seems a standard place to do that would be /var/salt
> 
> check how other ports needing a real homedir for their user do ?

Easy enough to do, but changing the existing user will need an upgrade
note to tell people to change the homedir.

> > Another thing to figure out is where to put standard place for state
> > files etc. "default" option is to have them under /srv:
> > 
> > BASE_FILE_ROOTS_DIR = '/srv/salt'
> > BASE_PILLAR_ROOTS_DIR = '/srv/pillar'
> > BASE_MASTER_ROOTS_DIR = '/srv/salt-master'
> > 
> > though eg FreeBSD keeps them under /usr/local/etc/salt:
> > 
> > --salt-base-file-roots-dir=${ETCDIR}/states \
> > --salt-base-pillar-roots-dir=${ETCDIR}/pillar \
> > --salt-base-master-roots-dir=${ETCDIR}/salt-master \
> > 
> > So far we kept the default, do we want to change that?
> 
> I'd say probably somewhere in /var yes..

I chatted with viq on irc about this the other day; yep /var (or
rather LOCALSTATEDIR) makes sense.

Reply via email to