From 11b7c05ef672e51a7916b6584105df7d79fdb97d Mon Sep 17 00:00:00 2001 From: Mikhail Konyakhin Date: Thu, 21 Jul 2016 18:27:21 +0300 Subject: [PATCH] Add support Puppet 4. --- manifests/params.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 499c037..8a37cd5 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -11,7 +11,7 @@ $su_cmd = '/bin/su' case $::osfamily { - Debian: { + 'Debian': { if $::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '11') < 0 { $package = 'git-core' }else{ @@ -19,15 +19,15 @@ } $grep_cmd = '/bin/grep' } - RedHat: { + 'RedHat': { $package = 'git' $grep_cmd = '/bin/grep' } - ArchLinux:{ + 'ArchLinux':{ $package = 'git' $grep_cmd = '/usr/bin/grep' } - Suse: { + 'Suse': { $package = ['git', 'git-core'] $grep_cmd = '/usr/bin/grep' }