So the short version for the example is: any class...
# puppet
a
So the short version for the example is: any class that installs packages needs to
include/require
the class that sets up yum repos before it declares the packages.