diff --git a/roles/devserver/userland-software/files/make.conf b/roles/devserver/userland-software/files/make.conf --- a/roles/devserver/userland-software/files/make.conf +++ b/roles/devserver/userland-software/files/make.conf @@ -14,4 +14,7 @@ # DEVELOPER=yes +WITH_CCACHE_BUILD=yes +CCACHE_DIR=/var/cache/ccache + DEFAULT_VERSIONS+= php=7.1 mysql=10.2m apache=2.4 python=3.6 python3=3.6 python2=2.7 tcl=8.6 diff --git a/roles/devserver/userland-software/misc.sls b/roles/devserver/userland-software/misc.sls --- a/roles/devserver/userland-software/misc.sls +++ b/roles/devserver/userland-software/misc.sls @@ -82,6 +82,9 @@ - require: - pkg: devserver_software_misc_ports +/var/cache/ccache: + file.directory + /etc/make.conf: file.managed: - source: salt://roles/devserver/userland-software/files/make.conf