How to update epel template from 6.5 to 6.8?

Sorry, to dig this moderatly stale topic up, but I've just tried to update
this epel snippet as well and am suddenly not seeing the snippet at all
within the spoofed provision file for the target host…

I've created a epel68 snippet and pasted the code from the git-repo into
it. The kickstart provision template is copied from the default with the
exception of adding the apcid package to be installed and the following in
regard to epel…

install epel if we can

What the hell?

<%= snippet 'epel68' %>

my epel snippet should be above!

Create a new host, apply the templates and spoof the provision template and
I see:

/usr/sbin/hwclock --systohc

install epel if we can

What the hell?

my epel snippet should be above!

Which looks to me somehow as though the snippet doesn't exist. Since
encountering this, I have gone back and edited the default kickstart to
include the epel68 snippet and it has similar results. Reverting the
default kickstart template back to the previous version now produces the
same results as well. Its as if the foreman gui can't actually create
templates? Is that a permission issue on the filesystem perhaps?

There doesn't seem to be any relevant logs related to foreman on this issue
either.

Any thoughts?

··· On Wednesday, May 8, 2013 7:53:58 PM UTC-4, dustyk...@gmail.com wrote: > > Hi, > > I had a working PXE boot for CentOS 6.4 servers that now hangs at the > postinstall. > I believe this is because the postinstall says this: > > [snip] > # install epel if we can > su -c 'rpm -Uvh > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm' > [snip] > > But the file > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm no > longer exists (it appears to have been removed in the last few weeks). > I see this commit > > > https://github.com/domcleal/foreman/commit/ca6b4244f757269c13791fbbb53b425bb737e28f > > so I’ve updated my epel template accordingly to 6-8, or at least I think I > have. In More / Provisioning / Provisioning Templates, under epel I now > see > > [snip] > when "6" > epel_url.gsub!("$os","6-8") > else > [snip] > > However, I can’t get my existing server to take the new template. If I go > to host / select hostname / templates / review, it still says > su -c 'rpm -Uvh > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm' > > instead of 6.8. > > How do I force the server, or preferably all the servers, to refresh their > epel template? > > Thanks, > Dusty > >