Line 40:
Line 40:
Visible no \
Visible no \
status disabled
status disabled
+
+
+
= '''For SME 10.x''' =
+
/sbin/e-smith/db yum_repositories set epel repository \
+
Name 'Epel - EL7' \
+
BaseURL 'http://download.fedoraproject.org/pub/epel/7/$basearch' \
+
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch' \
+
EnableGroups no \
+
GPGCheck yes \
+
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
+
Exclude perl-Razor-Agent \
+
Visible no \
+
status disabled
+
+
+
+
/sbin/e-smith/db yum_repositories set epel-testing repository \
+
Name 'Epel - EL7' \
+
BaseURL 'http://download.fedoraproject.org/pub/epel/testing/7/$basearch' \
+
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=$basearch' \
+
EnableGroups no \
+
GPGCheck yes \
+
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
+
Exclude perl-Razor-Agent \
+
Visible no \
+
status disabled
+
<headertabs/>
<headertabs/>
−
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
+
<noinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
After adding it to the database updating the configuration file is required by issuing:
After adding it to the database updating the configuration file is required by issuing:
signal-event yum-modify
signal-event yum-modify
−
}}</onlyinclude>
+
}}
For example to view changes you can run:
For example to view changes you can run: