Fix a dependency issues in jenkins::master.
/var/lib/jenkins/plugins/simple-theme-plugin did not depend on /var/lib/jenkins/plugins being in place before it tried to do its thing. This resulted in failure. Add file resources for /var/lib/jenkins and /var/lib/jenkins/plugins and instert the appropriate requirements. Note that the group for /var/lib/jenkins/plugins is nogroup on jenkins-dev and the unnamed group 118 on jenkins.o.o. This change will make the group nogroup on both hosts. Change-Id: Ib4f04e2ad5c7f1528b4a13aa39db84b2b275904f Reviewed-on: https://review.openstack.org/14364 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
cd64a94b4c
commit
25c8b4804d
@ -113,10 +113,26 @@ class jenkins::master(
|
||||
command => "apt-get update",
|
||||
}
|
||||
|
||||
file { "/var/lib/jenkins/plugins/simple-theme-plugin":
|
||||
file { '/var/lib/jenkins':
|
||||
ensure => directory,
|
||||
owner => 'jenkins',
|
||||
group => 'nogroup'
|
||||
group => 'adm',
|
||||
require => Package['jenkins'],
|
||||
}
|
||||
|
||||
file { '/var/lib/jenkins/plugins':
|
||||
ensure => directory,
|
||||
owner => 'jenkins',
|
||||
group => 'nogroup',
|
||||
mode => '0750',
|
||||
require => File['/var/lib/jenkins'],
|
||||
}
|
||||
|
||||
file { '/var/lib/jenkins/plugins/simple-theme-plugin':
|
||||
ensure => directory,
|
||||
owner => 'jenkins',
|
||||
group => 'nogroup',
|
||||
require => File['/var/lib/jenkins/plugins'],
|
||||
}
|
||||
|
||||
file { "/var/lib/jenkins/plugins/simple-theme-plugin/openstack.css":
|
||||
|
Loading…
Reference in New Issue
Block a user