From 8ea890cf328e01d593d5213089e3bb832abddf51 Mon Sep 17 00:00:00 2001 From: c33s Date: Mon, 5 Mar 2018 09:15:41 +0100 Subject: [PATCH 1/2] using the new facts hash instead of the global var in repo/debian.pp --- manifests/repo/debian.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/repo/debian.pp b/manifests/repo/debian.pp index fed40634..91920d7c 100644 --- a/manifests/repo/debian.pp +++ b/manifests/repo/debian.pp @@ -86,7 +86,7 @@ ::apt::source { 'source_php_71': location => 'https://packages.sury.org/php/', - release => $::lsbdistcodename, + release => $::facts['os']['distro']['codename'], repos => 'main', include => { 'src' => $include_src, From a2c13fb09e0ad9065fed1b06859f6e731330d376 Mon Sep 17 00:00:00 2001 From: c33s Date: Tue, 6 Mar 2018 15:01:30 +0100 Subject: [PATCH 2/2] removed :: from $facts variable --- manifests/repo/debian.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/repo/debian.pp b/manifests/repo/debian.pp index 91920d7c..5993de50 100644 --- a/manifests/repo/debian.pp +++ b/manifests/repo/debian.pp @@ -86,7 +86,7 @@ ::apt::source { 'source_php_71': location => 'https://packages.sury.org/php/', - release => $::facts['os']['distro']['codename'], + release => $facts['os']['distro']['codename'], repos => 'main', include => { 'src' => $include_src,