Search code examples
centoscontinuous-integrationpuppet

Puppet Learning VM with Jenkins CI installation


I am trying to set up Jenkins CI in Puppet Learning VM ( CentOS 6.5 x86 ), but I cannot make yum to see openjdk 1.7.0 packages, therefore jenkins puppet fails.

I have tried adding epel repo - still yum says no package available. I have changed pluginconf to disable yum protection and still no go. What else can I do ...?

See second comment for screenshot.


Solution

  • That VM might have intentionally disabled repos. Check files in ls -la /etc/yum.repos.d/

    java-1.7.0-openjdk should be available in base repo so check the contents of file CentOS-Base.repo, look for enabled=0 and change to enabled=1

    After that, try yum search openjdk