###Some don't work yet.
Get the top request methods
varnishtop -i RxRequest
Top urls that missed the cache.
varnishtop -i TxURL
###Some don't work yet.
Get the top request methods
varnishtop -i RxRequest
Top urls that missed the cache.
varnishtop -i TxURL
exec { "add_fstab_acl": | |
command => "/bin/sed -i.backup '/srv/s/defaults/defaults,acl/g' /etc/fstab", | |
unless => "/bin/grep -E '/srv.*ext4.*defaults,acl' /etc/fstab", | |
path => "/usr/local/bin/:/bin/", | |
} |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |