diff --git a/manifests/params.pp b/manifests/params.pp index 2a57ed2..fe4dda1 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -50,6 +50,16 @@ } } + 'SLES','OpenSuSE': { + $majversion = pick($_majversion, '2') + $dynamic_tuning = true + $main_conf = '/etc/tuned/tuned-main.conf' + $services = ['tuned'] + $profile = '' #autodetect + $profiles_path = '/etc/tuned' + $active_profile_conf = 'active_profile' + } + default: { fail("Unsupported OS: ${facts['os']['name']}") } diff --git a/metadata.json b/metadata.json index fc3c95b..4bd0f6c 100644 --- a/metadata.json +++ b/metadata.json @@ -48,6 +48,12 @@ }, { "operatingsystem": "Fedora" + }, + { + "operatingsystem": "SLES", + "operatingsystemrelease": [ + "12" + ] } ], "requirements": [