From 1429d08b841f0f634f93bcc1ccc65c6cb9fb3261 Mon Sep 17 00:00:00 2001 From: Justin Bovee Date: Mon, 7 Jul 2014 23:02:05 -0500 Subject: [PATCH] Update params.pp Syntax issues that error out with problems around lines 33-41. --- manifests/params.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 154a63c..72a01cf 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -32,12 +32,12 @@ # automatically. $package_file = $::osfamily ? { 'Debian' => "${package}.${::architecture}.deb", - '/(RedHat|Suse)/' => "${package}.${::architecture}.rpm", - default => fail("Unsupported operating system: ${::operatingsystem}."), + /(RedHat|Suse)/ => "${package}.${::architecture}.rpm", + default => fail("Unsupported operating system: ${::operatingsystem}.") } $package_file_provider = $::osfamily ? { 'Debian' => 'dpkg', - '/(RedHat|Suse)/' => 'rpm', - default => fail("Unsupported operating system: ${::operatingsystem}."), + /(RedHat|Suse)/ => 'rpm', + default => fail("Unsupported operating system: ${::operatingsystem}.") } }