diff --git a/modules/jenkins_master/manifests/init.pp b/modules/jenkins_master/manifests/init.pp index a3c0fb8e29..3e0159737c 100644 --- a/modules/jenkins_master/manifests/init.pp +++ b/modules/jenkins_master/manifests/init.pp @@ -32,11 +32,11 @@ class jenkins_master { package { $packages: ensure => "latest", - require => File['/etc/apt/sources.list.d/jenkins'], + require => File['/etc/apt/sources.list.d/jenkins.list'], } exec { "update apt cache": - subscribe => [ File["/etc/apt/sources.list.d/jenkins"]], + subscribe => [ File["/etc/apt/sources.list.d/jenkins.list"]], refreshonly => true, path => "/bin:/usr/bin", command => "apt-get update",