diff --git a/apt/manifests/init.pp b/apt/manifests/init.pp index 72c8763..f109ab6 100644 --- a/apt/manifests/init.pp +++ b/apt/manifests/init.pp @@ -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", + } + +} diff --git a/erlang/manifests/init.pp b/erlang/manifests/init.pp index 81694d7..0490d6c 100644 --- a/erlang/manifests/init.pp +++ b/erlang/manifests/init.pp @@ -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}.") }