class base {
class disable_rhn {
file { "/etc/yum/pluginconf.d/rhnplugin.conf":
owner => root,
group => root,
mode => 644,
source => "puppet://builder/files/etc/yum/pluginconf.d/rhnplugin.conf"
}
file { "/etc/yum/pluginconf.d/security.conf":
owner => root,
group => root,
mode => 644,
source => "puppet://builder/files/etc/yum/pluginconf.d/security.conf"
}
}
class local_repo {
yumrepo { "in-house":
name => "in-house",
descr => "in-house",
baseurl => "http://$server/kickstart/inhouse/",
enabled => 1,
gpgcheck => 0
}
yumrepo { "base":
name => "rhel-5.2-x86_64",
descr => "rhel-5.2-x86_64",
baseurl => "http://$server/kickstart/RHEL/5.2/x86_64/Server/",
enabled => 1,
gpgcheck => 0
}
}
}