diff --git a/manifests/params.pp b/manifests/params.pp index 9dcf348..6ba9ad8 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -66,6 +66,16 @@ 'server' => 'keyserver.ubuntu.com', }, } + $repo24 = { + comment => 'ProxySQL 2.4.x APT repository', + location => "http://repo.proxysql.com/ProxySQL/proxysql-2.4.x/${facts['os']['distro']['codename']}/", + release => './', + repos => '', + key => { + 'id' => '1448BF693CA600C799EB935804A562FB79953B49', + 'server' => 'keyserver.ubuntu.com', + }, + } } 'RedHat': { $package_provider = 'rpm' @@ -114,6 +124,14 @@ gpgcheck => true, gpgkey => 'http://repo.proxysql.com/ProxySQL/repo_pub_key', } + $repo24 = { + name => 'proxysql_2_4', + descr => 'ProxySQL 2.4.x YUM repository', + baseurl => "http://repo.proxysql.com/ProxySQL/proxysql-2.4.x/centos/${repo_os_major_version}", + enabled => true, + gpgcheck => true, + gpgkey => 'http://repo.proxysql.com/ProxySQL/repo_pub_key', + } } default: { fail("osfamily ${facts['os']['family']} is not supported")