Merge pull request #148 from futuresimple/fix/ppa/pass_flags_as_single_character

pass flags as string of single letter
This commit is contained in:
Ashley Penney 2013-07-31 05:43:15 -07:00
commit 6a5d0604a8

View file

@ -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 ? {