Merge "Add a common data directory for job workers"
This commit is contained in:
commit
f889e14fdb
@ -17,6 +17,19 @@ class openstack_project::slave_common(
|
|||||||
url => $project_config_repo,
|
url => $project_config_repo,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/usr/local/jenkins/common_data':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0755',
|
||||||
|
recurse => true,
|
||||||
|
purge => true,
|
||||||
|
force => true,
|
||||||
|
require => [File['/usr/local/jenkins'],
|
||||||
|
$::project_config::config_dir],
|
||||||
|
source => $::project_config::jenkins_data_dir,
|
||||||
|
}
|
||||||
|
|
||||||
file { '/usr/local/jenkins/slave_scripts':
|
file { '/usr/local/jenkins/slave_scripts':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
|
Loading…
Reference in New Issue
Block a user