Jump to content

User:Elukey/Ops/Cumin

From Wikitech

Restart all the mediawiki nginx tls proxies in eqiad:

sudo cumin -b2 -s 3 'R:class = role::mediawiki::webserver and *.eqiad.wmnet' 'systemctl restart nginx.service'

Check SSL certificate on a specific mediawiki cluster:

sudo cumin 'R:File = /etc/ssl/localcerts/rendering.svc.eqiad.wmnet.chained.crt' 'openssl x509 -in /etc/ssl/localcerts/rendering.svc.eqiad.wmnet.chained.crt -text -noout'