Fix jenkins apt list
Change-Id: Ia1ebee4c388109314c8b51d4fbb3de5a83a1c4f0
This commit is contained in:
parent
ad6bb5a4e6
commit
1f9bfacd1c
@ -32,11 +32,11 @@ class jenkins_master {
|
|||||||
|
|
||||||
package { $packages:
|
package { $packages:
|
||||||
ensure => "latest",
|
ensure => "latest",
|
||||||
require => File['/etc/apt/sources.list.d/jenkins'],
|
require => File['/etc/apt/sources.list.d/jenkins.list'],
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { "update apt cache":
|
exec { "update apt cache":
|
||||||
subscribe => [ File["/etc/apt/sources.list.d/jenkins"]],
|
subscribe => [ File["/etc/apt/sources.list.d/jenkins.list"]],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
path => "/bin:/usr/bin",
|
path => "/bin:/usr/bin",
|
||||||
command => "apt-get update",
|
command => "apt-get update",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user