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.cris...@logilab.fr> Logilab http://www.logilab.fr/ Informatique scientifique & gestion de connaissances -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org