Skip to content

Commit

Permalink
package sles 12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Sep 28, 2018
1 parent 6c27347 commit bf289f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
class timezone::params {

$packagename='tzdata'

case $::osfamily
{
'redhat':
{
$packagename='tzdata'
case $::operatingsystemrelease
{
/^[5-6].*$/:
Expand All @@ -21,6 +20,7 @@
}
'Debian':
{
$packagename='tzdata'
case $::operatingsystem
{
'Ubuntu':
Expand Down Expand Up @@ -52,10 +52,12 @@
{
'11.3':
{
$packagename='tzdata'
$timedatectl=false
}
'12.3':
{
$packagename='timezone'
$timedatectl=true
}
default: { fail("Unsupported SLES version ${::operatingsystem} ${::operatingsystemrelease}") }
Expand Down

0 comments on commit bf289f4

Please sign in to comment.