Skip to content
Snippets Groups Projects
Commit 456e1795 authored by Mickaël Canévet's avatar Mickaël Canévet
Browse files

Use operatingsystemmajrelease instead of lsbmajdistrelease

parent 1c195118
Branches
Tags
No related merge requests found
class postfix::params {
case $::osfamily {
'RedHat': {
$seltype = $::lsbmajdistrelease ? {
$seltype = $::operatingsystemmajrelease ? {
'4' => 'etc_t',
/5|6|7/ => 'postfix_etc_t',
default => undef,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment