From 427e72e0d5c36472e814244288f0f223ba9285c3 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 11 Dec 2018 15:05:01 +0100 Subject: lsb_release_with_version class: Only replace DISTRIB_DESCRIPTION, if system is a Debian Edu system. --- code/environments/production/manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index 03c2b2e..7a5f836 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -60,7 +60,7 @@ class lsb_release_with_version { file_line { 'lsb-release-with-version': path => '/etc/lsb-release', line => "DISTRIB_DESCRIPTION=Debian Edu / Skolelinux ${::operatingsystemrelease}", - match => "^DISTRIB_DESCRIPTION=.*$", + match => "^DISTRIB_DESCRIPTION=DebianEdu/Skolelinux$", } } -- cgit v1.2.3