Last active
March 20, 2017 15:35
-
-
Save klyr/cdf4bc8fcd741465d8e9b7d5a87a7a5c to your computer and use it in GitHub Desktop.
Add epel repo with saltstack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo salt '*' pkg.mod_repo base enabled=1 name='CentOS-$releasever - Base' mirrorlist='http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os' gpgcheck=1 | |
sudo salt '*' pkg.mod_repo update enabled=1 name='CentOS-$releasever - Updates' mirrorlist='http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates' gpgcheck=1 | |
sudo salt '*' pkg.mod_repo epel enabled=1 name='Extra Packages for Enterprise Linux 7 - $basearch' mirrorlist='https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch' gpgcheck=1 | |
sudo salt '*' pkg.mod_repo epel-testing enabled=1 name='Extra Packages for Enterprise Linux 7 - Testing - $basearch' mirrorlist='https://mirrors.fedoraproject.org/metalink?repo=testing-epel7&arch=$basearch' gpgcheck=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment