]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Replace UTF-8 whitespace in comment
authorBernhard Schmidt <berni@birkenwald.de>
Thu, 22 Mar 2018 14:05:05 +0000 (15:05 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Mar 2018 14:05:05 +0000 (15:05 +0100)
There is an UTF-8 whitespace which blows up older puppet-lint versions. Replace with space character

./modules/apt/manifests/source.pp
/usr/lib/ruby/vendor_ruby/puppet-lint/checks.rb:23:in `split': invalid byte sequence in US-ASCII (ArgumentError)
from /usr/lib/ruby/vendor_ruby/puppet-lint/checks.rb:23:in `load_data'
from /usr/lib/ruby/vendor_ruby/puppet-lint/checks.rb:53:in `run'
from /usr/lib/ruby/vendor_ruby/puppet-lint.rb:174:in `run'
from /usr/lib/ruby/vendor_ruby/puppet-lint/bin.rb:59:in `block in run'
from /usr/lib/ruby/vendor_ruby/puppet-lint/bin.rb:56:in `each'
from /usr/lib/ruby/vendor_ruby/puppet-lint/bin.rb:56:in `run'
from /usr/bin/puppet-lint:7:in `<main>'
Detected error

manifests/source.pp

index 54295b5d1eba11952f855695dc9f8cd4e8e01423..670b83035864108a7d28932678dc27287c394dab 100644 (file)
@@ -29,7 +29,7 @@ define apt::source(
     $_release = $release
   }
 
-  # Some releases do not support https transport with default installation
+  # Some releases do not support https transport with default installation
   $_transport_https_releases = [ 'wheezy', 'jessie', 'stretch', 'trusty', 'xenial' ]
 
   if $ensure == 'present' {