Stab at making kojipkgs squid smp

This commit is contained in:
Kevin Fenzi 2015-04-22 19:30:12 +00:00
parent 5f82e3ef86
commit 07f43d9071
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1 @@
D /var/run/squid 0755 squid squid -

View file

@ -78,3 +78,9 @@ cache allow kojipkgs
cache deny all
coredump_dir /var/spool/squid
# put the pid in the tmpdir with worker ipc sockets
pid_filename /var/run/squid/squid.pid
# Run in smp mode with 8 workers
workers 8

View file

@ -1,3 +1,11 @@
#
# This is before squid is installed on initial setup so it runs on squid install
#
- name: add squid tmpfiles.d to make run dir for smp ipc sockets.
copy: src=squid-tmpfiles dest=/etc/tmpfiles.d/squid.conf owner=root group=root mode=644
tags:
- packages
- kojipkgs
- name: install squid server packages
yum: name={{ item }} state=present