build/yum_data/SIMP<simp_version>_<CentOS or RHEL><os_version>_<architecture>/packages". I've had success doing that in the past, but all those packages that worked were signed by RHEL or EPEL. Unfortunately I'm trying to add a non-RHEL, EPEL, PuppetLabs, or SIMP signed RPM into the DVD and my SIMP server and clients cannot install it due to a GPG key error.Good deal, thanks for the feedback Trevor. Here's a follow up:
I took your advice and created a new repo which works in my tests. However, now I don't know how to include it in the SIMP DVD build process. In the past I would simply copy new/additional RPM's into the <DVDOverlay>/build/yum.../packages folder and they'd be added to the native SIMP repo during the build iso rake, but now I have a new repository in another folder, not the <DVDRoot>/SIMP folder. I suppose I could try adding my repo folder to the RHEL source DVD (which was cp -rl'ed) and see if that works. Do you have a better idea? As always, thanks for your help!
--Mark
--
You received this message because you are subscribed to the Google Groups "SIMP Q&A Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simp+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/simp/2043325d-d5d3-4aa3-bfa9-eb0b2100b763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the input Trevor. Unfortunately, we are deploying our product into a tactical environment and there is not much opportunity for soldiers to perform much post-configurations. Because of that we need to make sure as much is pre-configured at deployment as possible. I think I will take a look at the repo mangling .rb soon, but in the mean time I came up with what I think might be a better solution for the short term.
I ended up changing the /etc/puppet/environments/simp/modules/simp/lib/puppet/parser/functions/simp_yumrepo_gpgkeys.rb script so that it will query each defined YUM_SERVER via http and pull a list of all files in the $yum_base/GPGKEYS/ folder that are named RPM-GPG-KEY-*. Then it adds all of those entries to the gpgkeys= field in the /etc/yum.repos.d/simp.repo file instead of the hard-coded list. This way you can add/remove whatever key you want at any time and the list will stay updated in near-real-time with no need to pre-define what key files you want. Just have them named appropriately and in the correct directory. That will obviously allow for adding 3rd party packages into the ISO build.
I rolled that change into a new SIMP...tar.gz and used it to create a new ISO including my packages. I'm planning to submit a pull request; maybe it'll be something you're interested in?
--Mark
--
You received this message because you are subscribed to the Google Groups "SIMP Q&A Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simp+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/simp/2043325d-d5d3-4aa3-bfa9-eb0b2100b763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.