Closed mathiasaerts closed 6 years ago
Hi @freekmurze
Is there any feedback on the PR from Mathias? Do you want us to take some actions?
Because I have no need for this now and don't want to maintain this functionality I've decided not to merge it in.
Feel free to merge our code and make the modifications there.
Related to #27 . By adding the VarnishSocket class, we can now clear the Varnish cache for a remote server. This requires the administrative socket to be reachable on the given host (start Varnish with
-T :6082
to bind to all interfaces).Because I introduced a new parameter to set the Varnish secret directly instead of using a file path, I renamed the original
administrative_secret
toadministrative_secret_file
. Apart from that, the code should be backwards compatible, as theexecution_type
parameter defaults to 'command'.