Displaying 2 results from an estimated 2 matches for "yum_excludes".
2012 Feb 17
3
Managing /etc/yum.conf
Hi,
It''s easy enough to modify, say, the "exclude" variable in /etc/yum.conf
with something like:
augeas { yum_exclude_kernel:
context => ''/files/etc/yum.conf/main'',
changes => ''set exclude kernel*''
}
However, I''d like a more flexible system where I can "build" the list of
excludes from
2013 Jan 25
4
Dynamic yum.conf 'exclude' line
...be able to specify from different classes RPMs to be excluded in
/etc/yum.conf, then build the exclude line from all those classes that set
an exclude.
In my hiera hierarchy, I use %{calling_module}, but I actually modify the
yum.conf exclude line from a "yum" module so of course setting yum_excludes
in various classes and calling hiera_array(''yum_excludes'') is not going to
work as the %{calling_module} will be "yum".
Any ideas?
Thanks!
Gonzalo
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to...