Shell script `default/squid-stack'

Install Squid stack

clustermin install starting-stack clustermin install squid clustermin install htpasswd {% set squidPassword = ("squid_" ~ (cluster.uuid ? : server.id)) | randomize %} sudo htpasswd -cb /etc/squid/htpasswd testuser {{ squidPassword }} echo 'Squid username: testuser' echo 'Squid password: {{ squidPassword }}' echo " auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/htpasswd acl ncsa_users proxy_auth REQUIRED http_access allow ncsa_users http_port 3128 " | sudo tee /etc/squid/squid.conf > /dev/null sudo systemctl restart squid