[Pkg-salt-team] Bug#698898: Bug#698898: Bug#698898: certificate file locations

Julien Cristau julien.cristau at logilab.fr
Wed Apr 10 10:44:08 UTC 2013


On Wed, Apr 10, 2013 at 20:28:25 +1000, Joe Healy wrote:

> Having thought about it for awhile, I think a feasible design is
> coming together:
> 
> We change via quilt the default config file location. This will deal
> with new installations.
> 
> To deal with existing installations, we write a script which does the
> following in postinst:
> 
> We read the /etc/salt/master or /etc/salt/minion config file respectively.
> 
> if the pki_dir variable is unchanged (ie equal to
> /etc/salt/pki/{master,minion}) or unset then we modify the variable to
> /var/lib/salt/{master,minion}/pki and uncomment it if necessary.
> 
/etc/salt/minion and /etc/salt/master are conffiles, you're not allowed
to touch them in maintainer scripts.

Cheers,
Julien
-- 
Julien Cristau          <julien.cristau at logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances



More information about the pkg-salt-team mailing list