summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-12-11 15:05:01 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-12-11 15:05:01 +0100
commit427e72e0d5c36472e814244288f0f223ba9285c3 (patch)
treefcead44b3a6c206ea8f1578b91015dc21e8a8f48
parent20f50037e6941b2225816f4b5b201869c7d679c9 (diff)
downloadpuppet.DEV-427e72e0d5c36472e814244288f0f223ba9285c3.tar.gz
puppet.DEV-427e72e0d5c36472e814244288f0f223ba9285c3.tar.bz2
puppet.DEV-427e72e0d5c36472e814244288f0f223ba9285c3.zip
lsb_release_with_version class: Only replace DISTRIB_DESCRIPTION, if system is a Debian Edu system.
-rw-r--r--code/environments/production/manifests/site.pp2
1 files changed, 1 insertions, 1 deletions
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$",
}
}