From 17d0f6ccbf3abd2f1517f9ae1770be89cc3fb053 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Fri, 9 Sep 2016 00:00:06 +0300 Subject: [PATCH] erlang: Add Erlang Solutions repo for Ubuntu --- apt/manifests/init.pp | 15 +++++++++++++++ erlang/manifests/init.pp | 3 +++ 2 files changed, 18 insertions(+) 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}.") }