(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)
+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 &&
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
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) &&
+ samhain --foreground -t init -p none -s none -l none -m none &&
+ /sbin/reboot