From: nagas Date: Mon, 22 Jul 2013 12:48:32 +0000 (+0200) Subject: pass flags as string of single letter X-Git-Tag: 1.3.0~7^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=63a0db4cf2335bf65f52c89d095b401a75512d48;p=puppet-modules%2Fpuppetlabs-apt.git pass flags as string of single letter --- diff --git a/manifests/ppa.pp b/manifests/ppa.pp index c4b9941..db312ea 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -13,9 +13,9 @@ define apt::ppa( fail('lsbdistcodename fact not available: release parameter required') } - $filename_without_slashes = regsubst($name, '/', '-', G) - $filename_without_dots = regsubst($filename_without_slashes, '\.', '_', G) - $filename_without_ppa = regsubst($filename_without_dots, '^ppa:', '', G) + $filename_without_slashes = regsubst($name, '/', '-', 'G') + $filename_without_dots = regsubst($filename_without_slashes, '\.', '_', 'G') + $filename_without_ppa = regsubst($filename_without_dots, '^ppa:', '', 'G') $sources_list_d_filename = "${filename_without_ppa}-${release}.list" $package = $::lsbdistrelease ? {