erlang: Add Erlang Solutions repo for Ubuntu
This commit is contained in:
parent
d60056acdb
commit
17d0f6ccbf
2 changed files with 18 additions and 0 deletions
|
@ -394,3 +394,18 @@ class apt::repo::puppetlabs {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Add Erlang Solutions repository
|
||||
#
|
||||
class apt::repo::erlang_solutions {
|
||||
|
||||
apt::repo { "erlang_solutions":
|
||||
ensure => present,
|
||||
source => "https://packages.erlang-solutions.com/ubuntu/",
|
||||
components => "contrib",
|
||||
key => "D208507CA14F4FCA",
|
||||
keyserver => "hkp://keys.gnupg.net",
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -14,6 +14,9 @@ class erlang(
|
|||
'centos': {
|
||||
require yum::repo::erlang_solutions
|
||||
}
|
||||
'ubuntu': {
|
||||
require apt::repo::erlang_solutions
|
||||
}
|
||||
default: {
|
||||
fail("Erlang Solutions not supported on ${::operatingsystem}.")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue