projects
/
mirror
/
dsa-wiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run an explicit apt-get update after puppet
[mirror/dsa-wiki.git]
/
input
/
howto
/
upgrade-to-jessie.mdwn
diff --git
a/input/howto/upgrade-to-jessie.mdwn
b/input/howto/upgrade-to-jessie.mdwn
index
60a21f4
..
2254092
100644
(file)
--- a/
input/howto/upgrade-to-jessie.mdwn
+++ b/
input/howto/upgrade-to-jessie.mdwn
@@
-27,7
+27,9
@@
commands:
rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
samhain --foreground -t init -p none -s none -l none -m none &&
(puppet agent -t || true) &&
rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
samhain --foreground -t init -p none -s none -l none -m none &&
(puppet agent -t || true) &&
+ apt-get update &&
apt-get dist-upgrade &&
apt-get dist-upgrade &&
+ apt-get purge ruby1.8 libffi5:amd64 emacs23-nox libruby1.9.1 libfilesystem-ruby1.9.1 libruby1.8 emacs23-common ruby1.9.1 emacs23-bin-common &&
apt-get --purge autoremove &&
while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&
dpkg --clear-avail &&
apt-get --purge autoremove &&
while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&
dpkg --clear-avail &&
@@
-47,10
+49,13
@@
more clean ups:
(apt-get purge them)
apt-get --purge autoremove &&
(apt-get purge them)
apt-get --purge autoremove &&
- while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done
&&
+ while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done
(puppet agent -t || true) && (puppet agent -t || true)
(puppet agent -t || true) && (puppet agent -t || true)
+nfs kernel module fu:
+ grep '^nfs$' /etc/modules && ! grep '^nfsv4$' /etc/modules && echo nfsv4 | tee -a /etc/modules
+
apache cleanup:
mkdir /etc/apache2/conf.d.WHEEZY &&
apache cleanup:
mkdir /etc/apache2/conf.d.WHEEZY &&
@@
-61,11
+66,12
@@
apache cleanup:
cd .. &&
rmdir conf.d
cd .. &&
rmdir conf.d
-re-init samhain
-
- (puppet agent -t || true) &&
- (puppet agent -t || true) &&
- samhain --foreground -t init -p none -s none -l none -m none
+ per vhost:
+ move sites-available file to foo.conf,
+ remove dangling symlink in sites-enabled,
+ a2ensite foo
+ replace all order allow,deny, allow from all with
+ Require all granted
Add the new ed25519 ssh host key:
run
Add the new ed25519 ssh host key:
run
@@
-74,4
+80,10
@@
Add the new ed25519 ssh host key:
update dsa-nagios.git (add host to jessie hostgroup)
update dsa-nagios.git (add host to jessie hostgroup)
-reboot.
+re-init samhain and finish with a reboot
+
+ (puppet agent -t || true) &&
+ (puppet agent -t || true) &&
+ (puppet agent -t || true) &&
+ samhain --foreground -t update -p none -s none -l none -m none &&
+ /sbin/reboot