Commit ed2803f2 authored by intrigeri's avatar intrigeri
Browse files

Jenkins master: install openjdk-8-jdk-headless (#16955)

Without this package, after Puppet has upgraded Jenkins and its plugins,
I see:

  Error: /Stage[main]/Jenkins::Cli/Exec[jenkins-cli]: Failed to call refresh: Could not find command 'jar'
  Error: /Stage[main]/Jenkins::Cli/Exec[jenkins-cli]: Could not find command 'jar'
parent 166e9e63
......@@ -57,6 +57,11 @@ class tails::jenkins::master (
],
}
# Provides the jar command, which is used by Jenkins::Cli/Exec[jenkins-cli]
package { 'openjdk-8-jdk-headless':
ensure => installed,
}
# apt-cacher-ng does not support HTTPS repositories
apt::conf { 'proxy_jenkins_repo':
content => 'Acquire::HTTP::Proxy::pkg.jenkins.io "DIRECT";',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment