yum: Add Erlang Solutions repository
This commit is contained in:
parent
6f8bf0c590
commit
511aca42e1
2 changed files with 69 additions and 0 deletions
|
@ -713,3 +713,20 @@ class yum::repo::riak {
|
|||
yum::repo::packagecloud { "basho/riak": }
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Add Erlang Solutions repository.
|
||||
#
|
||||
class yum::repo::erlang_solutions {
|
||||
|
||||
if $::operatingsystem != 'CentOS' {
|
||||
fail("Erlang repository not supported on ${::operatingsystem}")
|
||||
}
|
||||
|
||||
yum::repo { 'erlang-solutions':
|
||||
descr => 'Centos $releasever - $basearch - Erlang Solutions',
|
||||
baseurl => 'https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch',
|
||||
gpgkey => 'puppet:///modules/yum/keys/erlang_solutions.key',
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue