- (puppet agent -t || true) &&
- (puppet agent -t || true) &&
- samhain --foreground -t init -p none -s none -l none -m none
+ (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 /etc/apache2/conf.d &&
+ for i in *; do
+ diff -u $i ../conf-enabled/$i.conf && mv -v $i ../conf.d.WHEEZY/
+ done &&
+ cd .. &&
+ rmdir conf.d
+
+ per vhost:
+ move sites-available file to foo.conf,
+ if they exist: move sites-available/RCS and sites-staging files to foo.conf,v and foo.conf
+ remove dangling symlink in sites-enabled,
+ a2ensite foo
+ replace all order allow,deny, allow from all with
+ Require all granted