diff --git a/modules/jenkins/manifests/slave.pp b/modules/jenkins/manifests/slave.pp index 4cf44127b8..e19742798e 100644 --- a/modules/jenkins/manifests/slave.pp +++ b/modules/jenkins/manifests/slave.pp @@ -164,6 +164,30 @@ class jenkins::slave( require => Package['ccache'], } + file { "/usr/local/bin/${::hardwareisa}-linux-gnu-gcc": + ensure => link, + target => '/usr/bin/ccache', + require => Package['ccache'], + } + + file { "/usr/local/bin/${::hardwareisa}-linux-gnu-g++": + ensure => link, + target => '/usr/bin/ccache', + require => Package['ccache'], + } + + file { "/usr/local/bin/${::hardwareisa}-linux-gnu-cc": + ensure => link, + target => '/usr/bin/ccache', + require => Package['ccache'], + } + + file { "/usr/local/bin/${::hardwareisa}-linux-gnu-c++": + ensure => link, + target => '/usr/bin/ccache', + require => Package['ccache'], + } + file { '/usr/local/jenkins': ensure => directory, owner => 'root',