From 5e5595ec9a30b1ce1ef3607867284943ca672b2b Mon Sep 17 00:00:00 2001 From: Damon Buckwalter Date: Mon, 8 May 2017 10:45:35 -0700 Subject: [PATCH] Use operating system fact, don't depend on LSB This could resolve #51 --- manifests/install.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/install.pp b/manifests/install.pp index f272159..e41fb7b 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -17,7 +17,7 @@ $package_ensure = 'installed' ) { $package_name = $::operatingsystem ? { - /(RedHat|CentOS|Amazon|OracleLinux)/ => $::lsbmajdistrelease ? { + /(RedHat|CentOS|Amazon|OracleLinux)/ => $::operatingsystemmajrelease ? { 5 => 'vixie-cron', default => 'cronie', },