Re: help with packaging (preinst scripts)
Hi Bob,
It sounds like you are trying to use a package installation in order
to do system configuration.
basically, to set up the software and all the system configuration
around it, yes.
That can work. It seems seductive. I
used to do it that way too. But after having done it that way I now
do it differently. There are just too many issues. The task really
isn't a package installation so much as system configuration. So now
I use a system configuration tool.
well, we're talking about just 15-20 servers tops, and the servers
are spread across several countries, with different sysadmin and
Operations teams. Sometimes I can access the servers myself,
sometimes I just send them the package and I don't really know
much about the target system.
I actually use my own system configuration tool. I know it best. But
in the larger world the standard tools are cfengine, puppet, chef. I
recommend you look at puppet as the place to start. There is a large
community around it and it is quite effective.
So that is my opinion and recommendation. Avoid the problems of
working within a packaged space and instead use a system configuration
tool. It is a much better match. You will eventually change to it
anyway so you might as well get there sooner. :-)
interesting, but not applicable for this particular package's context, I
think.
2. ssh-keygen with no user input ("Enter passphrase")
No one has mentioned the ssh-keygen -N new_passphrase option yet.
thanks. the </dev/null stanza works as well.
Bob
Thanks,
David.
Reply to: