...I've been working quite a lot in the background to make our new
platform setup scriptable, and thus easier to migrate to Puppet afterwards.
Here's some example on how that looks like:
==
echo "apticron apticron/notification string root" | debconf-set-selections
echo "apt-listchanges apt-listchanges/frontend select pager" |
debconf-set-selections
echo "apt-listchanges apt-listchanges/confirm boolean false" |
debconf-set-selections
echo "apt-listchanges apt-listchanges/which select both" |
debconf-set-selections
echo "apt-listchanges apt-listchanges/email-address string" |
debconf-set-selections
echo "apt-listchanges apt-listchanges/save-seen boolean false" |
debconf-set-selections
apt-get install apticron unattended-upgrades apt-listchanges
sed -i s/"\/\/Unattended-Upgrade::Mail
\"root@localhost\";"/"Unattended-Upgrade::Mail \"root\";"/g
/etc/apt/apt.conf.d/50unattended-upgrades
echo "Acquire::http::Timeout \"120\";" > /etc/apt/apt.conf.d/999user
echo "Acquire::ftp::Timeout \"120\";" >> /etc/apt/apt.conf.d/999user
sed -i s/"#
LISTCHANGES_PROFILE=\"apticron\""/"LISTCHANGES_PROFILE=\"apticron\"/"g
/etc/apticron/apticron.conf
==
Although rather ugly (and you can see I'm probably no regular expression
expert), we can automate the deployment with this. The base system is
nearly done, and I hope to be done with Apache, Postfix & co. by next week.
Florian
--
Florian Effenberger, Chairman of the Board (Vorstandsvorsitzender)
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Jabber: floeff@jabber.org | SIP: floeff@iptel.org
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: http://www.documentfoundation.org/imprint
--
Unsubscribe instructions: E-mail to website+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- [libreoffice-website] Although kermit2 is still not set-up... · Florian Effenberger
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.