issue with $releasever in yum repo on OEL7 while using puppetlabs_puppet_agent module

asked 2017-05-22 16:11:39 -0600

mweyandt gravatar image

updated 2017-05-23 11:21:10 -0600

smarlow gravatar image

Hey all,

I'm having an issue with the puppet_agent module from puppetlabs while upgrade my OEL7.3 servers to the puppet4 agent.

The $releasever in pc_repo.repo seems to be evaluating to 7.3 instead of just 7. This causes yum to not find the url it's looking for (which just includes the major version 7, and not the .3 minor version). Not sure if this is just what OEL does with the releasever variable or if anyone else has run into this issue in the past.

(I haven't done this on my OEL5 or OEL6 servers yet, but I don't think those will have the same problem judging from the repo layout)

edit retag flag offensive close merge delete