...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: [email protected] | SIP: [email protected]
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 [email protected]
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